Date: Thursday, March 29, 2007 @ 23:33:19 Author: aaron Path: /home/cvs-pacman/pacman-lib/scripts Modified: repo-add (1.6 -> 1.7) 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> ----------+ repo-add | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: pacman-lib/scripts/repo-add diff -u pacman-lib/scripts/repo-add:1.6 pacman-lib/scripts/repo-add:1.7 --- pacman-lib/scripts/repo-add:1.6 Tue Mar 13 11:01:15 2007 +++ pacman-lib/scripts/repo-add Thu Mar 29 23:33:19 2007 @@ -246,7 +246,7 @@ 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'"