diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/quilt.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/quilt.in b/bin/quilt.in index 872bfe9..fef1e13 100644 --- a/bin/quilt.in +++ b/bin/quilt.in @@ -43,6 +43,7 @@ quilt_commands() done } +BASH_OPTS= for arg in "$@" do case $arg in @@ -53,6 +54,10 @@ do else args[${#args[@]}]="$arg" fi ;; + --trace) + # Trace execution of commands + BASH_OPTS=-x ;; + *) args[${#args[@]}]="$arg" ;; esac @@ -89,4 +94,4 @@ set -- "${args[@]}" unset arg args #. @QUILT@/$command -bash -c ". @QUILT@/$command" "quilt ${command##*/}" "$@" +@BASH@ $BASH_OPTS -c ". @QUILT@/$command" "quilt ${command##*/}" "$@" |