From 64f092c0a46b3d592db231947b930e9c1a5aa524 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher Date: Sat, 14 Jan 2006 04:27:21 +0000 Subject: - Use the quilt version in the source tree instead of the installed version for running the test suite. --- bin/quilt.in | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'bin/quilt.in') 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##*/}" "$@" -- cgit