diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2006-01-14 04:27:21 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2006-01-14 04:27:21 +0000 |
commit | 64f092c0a46b3d592db231947b930e9c1a5aa524 (patch) | |
tree | f02a492015d7201ca9bfc98f347e816df034e54e /bin/quilt.in | |
parent | c31c2b03f9cb66981908c9048eb586d2917856af (diff) | |
download | quilt-64f092c0a46b3d592db231947b930e9c1a5aa524.tar.gz |
- Use the quilt version in the source tree instead of the
installed version for running the test suite.
Diffstat (limited to 'bin/quilt.in')
-rw-r--r-- | bin/quilt.in | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/bin/quilt.in b/bin/quilt.in index 55d0f32..2db6d21 100644 --- a/bin/quilt.in +++ b/bin/quilt.in @@ -9,6 +9,9 @@ export TEXTDOMAIN=quilt export TEXTDOMAINDIR=@LOCALEDIR@ +: ${QUILT=@QUILT@} ${LIB=@LIB@} +export QUILT LIB + if [ -z "$QUILTRC" ] then for QUILTRC in $HOME/.quiltrc /etc/quilt.quiltrc; do @@ -18,9 +21,9 @@ then fi # Support compatibility layer -if [ -d @QUILT@/compat ] +if [ -d $QUILT/compat ] then - export PATH="@QUILT@/compat:$PATH" + export PATH="$QUILT/compat:$PATH" fi usage() @@ -53,11 +56,11 @@ Global options: quilt_commands() { local command - for command in @QUILT@/* + for command in $QUILT/* do if [ -f "$command" -a -x "$command" ] then - echo ${command##@QUILT@/} + echo ${command##$QUILT/} fi done } @@ -105,7 +108,7 @@ do shift done -if ! [ -f "@QUILT@/$command" -a -x "@QUILT@/$command" ] +if ! [ -f "$QUILT/$command" -a -x "$QUILT/$command" ] then if [ -n "$command" ] then @@ -137,4 +140,4 @@ set -- "${args[@]}" unset args export QUILT_COMMAND="${command##*/}" -bash $BASH_OPTS -c ". @QUILT@/$command" "quilt ${command##*/}" "$@" +bash $BASH_OPTS -c ". $QUILT/$command" "quilt ${command##*/}" "$@" |