Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit c328848

Browse files
committed
Add Missing Base Directory to .env File Initialization Script
1 parent 4970797 commit c328848

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

feasibility-portal/initialise-portal-env-files.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

3-
envfiles=( "gui/deploy-config.json" "backend/.env" "keycloak/.env" "proxy/.env")
3+
BASE_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 || exit 1 ; pwd -P )"
4+
envfiles=( "$BASE_DIR/gui/deploy-config.json" "$BASE_DIR/backend/.env" "$BASE_DIR/keycloak/.env" "$BASE_DIR/proxy/.env")
45

56
for file in "${envfiles[@]}"
67
do

0 commit comments

Comments
 (0)