From a3145c91f1ba604925f63893b0b68b70b1569a0f Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Fri, 21 Feb 2014 22:05:46 +0100 Subject: [PATCH] Adjust repack.sh to latest upstream --- debian/bin/repack.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/bin/repack.sh b/debian/bin/repack.sh index 9b9a0d4..51bdfb7 100755 --- a/debian/bin/repack.sh +++ b/debian/bin/repack.sh @@ -26,8 +26,10 @@ srcdir="$tdir/$distdir" #echo "Adjusting $srcdir/configure" sed -i 's/perlmods\/Makefile\ //' $srcdir/configure sed -i '/perlmods\/Makefile/d' $srcdir/configure -#echo "Adjusting $srcdir/configure" -sed -i '/perlmods\/Makefile/d' $srcdir/configure.in +#echo "Adjusting $srcdir/configure.in" +[ -f $srcdir/configure.in ] && sed -i '/perlmods\/Makefile/d' $srcdir/configure.in +#echo "Adjusting $srcdir/configure.am" +[ -f $srcdir/configure.am ] && sed -i '/perlmods\/Makefile/d' $srcdir/configure.am #echo "Adjusting $srcdir/Makefile*" sed -i 's/perlmods\ //' $srcdir/Makefile* #echo "Removing $srcdir/perlmods/