From: Adeodato Simó Date: Wed, 16 Aug 2006 13:46:23 +0000 (+0200) Subject: Change update-autotools.sh to be run from the top directory, not one X-Git-Tag: 1.5.13-1~4 X-Git-Url: https://git.llucax.com/software/mutt-debian.git/commitdiff_plain/2c660c2b2459ea6565c4103699d30d45a0726f5f?ds=sidebyside;hp=-c Change update-autotools.sh to be run from the top directory, not one level up it. --- 2c660c2b2459ea6565c4103699d30d45a0726f5f diff --git a/debian/update-autotools.sh b/debian/update-autotools.sh index 0e4903b..f161b02 100755 --- a/debian/update-autotools.sh +++ b/debian/update-autotools.sh @@ -2,18 +2,18 @@ set -e -D="$1" # mutt-1.5.X +dh_testdir + +D=$(basename "$PWD") PATCH_NAME=misc/autotools-update.diff -cd $D -dh_testdir debclean quilt delete $PATCH_NAME || test $? -eq 1 quilt push -aq ln -sf /usr/share/misc/config.sub . ln -sf /usr/share/misc/config.guess . -cd - +cd .. cp -al $D $D.orig cd $D @@ -32,7 +32,7 @@ cd $D quilt import -f -P $PATCH_NAME `basename $T` quilt push quilt refresh -p0 -cd - +cd .. rm -f $T rm -rf $D.orig