index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2012-04-07 10:09:57 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-04-07 10:13:38 -0500 |
commit | 114d121001d8c3e901d5330b864d58870c6e917b (patch) | |
tree | 2b5002b320ba1ff0eaab333b65d647935a5fd3b8 /scripts | |
parent | 391769ff8914b1aa94fd8daa87da0d2bfc2cc328 (diff) |
-rw-r--r-- | scripts/pkgdelta.sh.in | 2 |
diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in index 35be70ce..e8e54b8e 100644 --- a/scripts/pkgdelta.sh.in +++ b/scripts/pkgdelta.sh.in @@ -61,7 +61,7 @@ read_pkginfo() IFS=" " local line var val - for line in $(bsdtar -xOf "$1" .PKGINFO 2>/dev/null | + for line in $(bsdtar -xOqf "$1" .PKGINFO 2>/dev/null | grep -v "^#" | sed 's|\(\w*\)\s*=\s*\(.*\)|\1="\2"|'); do eval "$line" if [[ -n $pkgname && -n $pkgver && -n $arch ]]; then |