[Pkg-nagios-changes] [pkg-monitoring-plugins] 01/03: debian/bin/repack.sh: Fixing substitution

Jan Wagner waja at moszumanska.debian.org
Fri Jul 11 18:45:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-monitoring-plugins.

commit b798a92290704c2522b963feb8e4b19627848f79
Author: Jan Wagner <waja at cyconet.org>
Date:   Fri Jul 11 19:19:53 2014 +0200

    debian/bin/repack.sh: Fixing substitution
---
 debian/bin/repack.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/bin/repack.sh b/debian/bin/repack.sh
index 51bdfb7..9a7ff68 100755
--- a/debian/bin/repack.sh
+++ b/debian/bin/repack.sh
@@ -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%.*}"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-monitoring-plugins.git



More information about the Pkg-nagios-changes mailing list