can't "exec" fg-upload, as this doesn't trigger the trapZZ
This commit is contained in:
parent
962e61903a
commit
e8840e4373
1 changed files with 4 additions and 3 deletions
|
@ -230,8 +230,8 @@ function search_config {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
RULES=
|
|
||||||
set -f
|
set -f
|
||||||
|
RULES=
|
||||||
if search_config "$PWD"; then
|
if search_config "$PWD"; then
|
||||||
LOG "loading config file $CONFIG"
|
LOG "loading config file $CONFIG"
|
||||||
source "$CONFIG"
|
source "$CONFIG"
|
||||||
|
@ -242,8 +242,8 @@ elif [ -f ~/${CONFIG_FILE}rc ]; then
|
||||||
DEBUG "loading config file ~/${CONFIG}rc"
|
DEBUG "loading config file ~/${CONFIG}rc"
|
||||||
source ~/${CONFIG_FILE}rc
|
source ~/${CONFIG_FILE}rc
|
||||||
fi
|
fi
|
||||||
set +f
|
|
||||||
RULES="$PREFIX_RULES $RULES $DEFAULT_RULES $POSTFIX_RULES"
|
RULES="$PREFIX_RULES $RULES $DEFAULT_RULES $POSTFIX_RULES"
|
||||||
|
set +f
|
||||||
|
|
||||||
|
|
||||||
if [ $DBG ]; then
|
if [ $DBG ]; then
|
||||||
|
@ -356,5 +356,6 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
[ -x "$UPLOAD" -a -f $RESULT ] && exec $UPLOAD $RESULT $DIFF
|
[ -x "$UPLOAD" -a -f $RESULT ] && $UPLOAD $RESULT $DIFF
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue