X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/4715e5bf5663821af2944b3b1006ad70a48bd387..ba6884a1fb55777708deb9e043911f448238793f:/debian/update-autotools.sh 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