[devscripts] 01/03: test_uscan: tar only under $PKG

Osamu Aoki osamu at moszumanska.debian.org
Sun Aug 27 14:30:55 UTC 2017


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

osamu pushed a commit to branch master
in repository devscripts.

commit 49e47974fa6733d7280a26167b98f3bb924766b4
Author: Osamu Aoki <osamu at debian.org>
Date:   Sun Aug 27 22:54:12 2017 +0900

    test_uscan: tar only under $PKG
---
 test/test_uscan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_uscan b/test/test_uscan
index 299db0f..042fabf 100755
--- a/test/test_uscan
+++ b/test/test_uscan
@@ -108,7 +108,7 @@ END
     touch $TMPDIR/repo/foo/content
 
     ( cd $TMPDIR/repo ;
-      tar cfa $PKG-1.$from_ext * )
+      tar -caf $PKG-1.$from_ext $PKG/* )
 
     OUTPUT=$( cd $TMPDIR/$PKG ; $COMMANDDEHS --repack --compression=$to_comp )
     assertEquals "uscan: exit_code!=0 but exit_code=0" "$?" "0"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list