debian/bin/repack.sh: Fixing substitution

This commit is contained in:
Jan Wagner 2014-07-11 19:19:53 +02:00
parent 0f0aba7bcc
commit b798a92290

View file

@ -35,6 +35,5 @@ sed -i 's/perlmods\ //' $srcdir/Makefile*
#echo "Removing $srcdir/perlmods/
rm -rf $srcdir/perlmods/
#tarball=$(echo $tarball|sed 's/\.orig\.tar\.gz/+dfsg.orig.tar.gz/')
tar -cof "${tarball/.gz}" -C $tdir/ $distdir
gzip -f9 "${tarball/.gz}"
tar -cof "${tarball%.*}" -C $tdir/ $distdir
gzip -f9 "${tarball%.*}"