From: mfranz Date: Sun, 11 Mar 2007 22:05:37 +0000 (+0000) Subject: can't "exec" fg-upload, as this doesn't trigger the trapZZ X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e8840e437375cf557d3265e4af0232d6913f0f19;p=flightgear.git can't "exec" fg-upload, as this doesn't trigger the trapZZ --- diff --git a/scripts/tools/fg-submit b/scripts/tools/fg-submit index 1b894ef45..08dbe53cb 100755 --- a/scripts/tools/fg-submit +++ b/scripts/tools/fg-submit @@ -230,8 +230,8 @@ function search_config { } -RULES= set -f +RULES= if search_config "$PWD"; then LOG "loading config file $CONFIG" source "$CONFIG" @@ -242,8 +242,8 @@ elif [ -f ~/${CONFIG_FILE}rc ]; then DEBUG "loading config file ~/${CONFIG}rc" source ~/${CONFIG_FILE}rc fi -set +f RULES="$PREFIX_RULES $RULES $DEFAULT_RULES $POSTFIX_RULES" +set +f if [ $DBG ]; then @@ -356,5 +356,6 @@ else fi -[ -x "$UPLOAD" -a -f $RESULT ] && exec $UPLOAD $RESULT $DIFF +[ -x "$UPLOAD" -a -f $RESULT ] && $UPLOAD $RESULT $DIFF +