diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-30 03:33:19 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-30 03:33:19 +0000 |
commit | a0f8f03056e0611bcedb9505ea7753830171d499 (patch) | |
tree | 92aae1526b6e2f35b92230e68f0579716ce3b5e3 | |
parent | 1e859c647f84f162aca282907953b5bf5948021f (diff) |
commit 970d2e942eb29bf78fe89895ace4d781970b6e94
Author: Aaron Griffin <aaronmgriffin@gmail.com>
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 <aaronmgriffin@gmail.com>
-rwxr-xr-x | scripts/repo-add | 2 |
1 files changed, 1 insertions, 1 deletions
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'" |