diff options
author | Allan McRae <allan@archlinux.org> | 2013-11-01 12:48:17 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-11-15 02:02:12 +0100 |
commit | da8cd388c4fd95d1748285e4d6bd549c776ef5e1 (patch) | |
tree | faf312e3e6b017253a102ed62d9ebe9a13be821c /scripts/makepkg.sh.in | |
parent | 57090d8cba65988b822a215947a5fb44d55790d0 (diff) | |
download | pacman-da8cd388c4fd95d1748285e4d6bd549c776ef5e1.tar.gz pacman-da8cd388c4fd95d1748285e4d6bd549c776ef5e1.tar.xz |
Return zero from extract_file with local source file
The call to bsdtar to check if a file needs extracted returns 1 if it does
not. We then propegate this return value accidentally which can cause
makepkg to report an error later on. Explicitly return 0 in this case.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index e01e7ab3..af97c3b9 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -419,7 +419,7 @@ extract_file() { if bsdtar -tf "$file" -q '*' &>/dev/null; then cmd="bsdtar" else - return + return 0 fi ;; esac |