Skip to content

Commit

Permalink
Merge pull request #207 from dxw/fix-quiet-mode-for-configure-commands
Browse files Browse the repository at this point in the history
Fix quiet mode for configure commands
  • Loading branch information
Stretch96 authored Nov 14, 2023
2 parents 02d6769 + ee2c1c4 commit 1854394
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bin/dalmatian
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ then
if [[ -f "$APP_ROOT/bin/configure-commands/$SUBCOMMAND" ]]
then
COMMAND_ARGS=( "${@:2}" )
QUIET_MODE=0
for i in "${!COMMAND_ARGS[@]}"
do
if [ "${COMMAND_ARGS[i]}" == "-q" ]
then
QUIET_MODE=1
unset "COMMAND_ARGS[i]"
fi
done
export QUIET_MODE
"$APP_ROOT/bin/configure-commands/$SUBCOMMAND" "${COMMAND_ARGS[@]}"
exit 0
fi
Expand Down

0 comments on commit 1854394

Please sign in to comment.