diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-05 07:43:42 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-05 07:43:42 +0000 |
commit | 5a48e4f1b6f46679104427db6daa76d4681d0640 (patch) | |
tree | 9b1f706fb46413f65e521c63670cd8bcb35d47b9 /scripts/makepkg | |
parent | f8b4b5257e97851df4730a136b7094e9cdf36f11 (diff) | |
download | pacman-5a48e4f1b6f46679104427db6daa76d4681d0640.tar.xz |
Check status of final tar/compress package creation for final status (FS#3382)
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-x | scripts/makepkg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/makepkg b/scripts/makepkg index cd34d3e3..60561c72 100755 --- a/scripts/makepkg +++ b/scripts/makepkg @@ -880,6 +880,11 @@ else fi $cmd | sort >../filelist +if [ ${PIPESTATUS[0]} -gt 0 ]; then + error "Failed to create package file." + exit ${PIPESTATUS[0]} +fi + cd $startdir if [ "$CLEANUP" = "1" ]; then msg "Cleaning up..." |