diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2004-02-02 13:15:25 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2004-02-02 13:15:25 +0000 |
commit | 09a53551061a990989fb0ed90dd7924d4faf5114 (patch) | |
tree | bae19fdf2f603f99ec9bdd9fad470c055059e9eb /bin | |
parent | 33e854f725142d4dc0c4fe00b9a2883166b8ff0b (diff) | |
download | quilt-09a53551061a990989fb0ed90dd7924d4faf5114.tar.gz |
- Fix test for bash in configure.ac.
- Add `--trace' option to quilt wrapper (runs commands with -x,
which prints an execution trace).
- Add QUILT_BACKUP setting in .quiltrc (creates backup copies
when refreshing patches).
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##*/}" "$@" |