summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-02-02 13:15:25 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-02-02 13:15:25 +0000
commit09a53551061a990989fb0ed90dd7924d4faf5114 (patch)
treebae19fdf2f603f99ec9bdd9fad470c055059e9eb /bin
parent33e854f725142d4dc0c4fe00b9a2883166b8ff0b (diff)
downloadquilt-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.in7
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##*/}" "$@"