Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaiyarasiganeshalingam committed Nov 21, 2024
1 parent 73f24e3 commit fa21297
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions distribution/src/scripts/micro-integrator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,15 @@ do
fi
# Check if the argument starts with --env-file=
if [[ "$c" == --env-file=* ]]; then
echo "_____________File Path --env-file=_________ $file_path"
file_path="${c#--env-file=}"
elif [[ "$c" == "--env-file" ]]; then
# Handle space-separated argument
echo "_____________File Path --env-file _________ $file_path"
file_path="$2"
shift # Skip the next argument since it's part of --env-file
fi
echo "_____________File Path_________ $file_path"
if [[ -n "$file_path" ]]; then
export_env_file "$file_path"
fi
Expand Down

0 comments on commit fa21297

Please sign in to comment.