Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-30 03:33:19 +0000
committerAaron Griffin <aaron@archlinux.org>2007-03-30 03:33:19 +0000
commita0f8f03056e0611bcedb9505ea7753830171d499 (patch)
tree92aae1526b6e2f35b92230e68f0579716ce3b5e3
parent1e859c647f84f162aca282907953b5bf5948021f (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-xscripts/repo-add2
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'"