index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-05-15 21:06:42 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-18 11:29:05 -0500 |
commit | d32f6daa66a454ea41574667d44a2f6c36d4f77e (patch) | |
tree | a7edbdc064a1541e8c04fae79eb967af89cd4785 /scripts/makepkg.sh.in | |
parent | 5752e276fb585d07bd0f8e8b2a1f2827afdf2799 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e8aaa8b7..97418796 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -693,10 +693,10 @@ extract_sources() { local ret=0 msg2 "$(gettext "Extracting %s with %s")" "$file" "$cmd" if [[ $cmd = bsdtar ]]; then - $cmd -xf "$file" || ret=? + $cmd -xf "$file" || ret=$? else rm -f "${file%.*}" - $cmd -dcf "$file" > "${file%.*}" || ret=? + $cmd -dcf "$file" > "${file%.*}" || ret=$? fi if (( ret )); then error "$(gettext "Failed to extract %s")" "$file" |