commit 970d2e942e
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>
This commit is contained in:
parent
1e859c647f
commit
a0f8f03056
1 changed files with 1 additions and 1 deletions
|
@ -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'"
|
||||
|
|
Loading…
Add table
Reference in a new issue