From a0f8f03056e0611bcedb9505ea7753830171d499 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 30 Mar 2007 03:33:19 +0000 Subject: commit 970d2e942eb29bf78fe89895ace4d781970b6e94 Author: Aaron Griffin Date: Thu Mar 29 21:30:40 2007 -0500 repo-add leaves .PKGINFO in the current directory * Misuse of 'tar xf', which should be 'tar tf' Signed-off-by: Aaron Griffin --- scripts/repo-add | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/repo-add b/scripts/repo-add index d6e2c5ae..dc280161 100755 --- a/scripts/repo-add +++ b/scripts/repo-add @@ -246,7 +246,7 @@ if [ $# -gt 1 ]; then fi else if [ -f "$arg" ]; then - if ! tar xf "$arg" .PKGINFO 2>&1 >/dev/null; then + if ! tar tf "$arg" .PKGINFO 2>&1 >/dev/null; then echo "error: '$arg' is not a package file, skipping" else echo ":: adding package '$arg'" -- cgit v1.2.3-24-g4f1b