summaryrefslogtreecommitdiff
path: root/scripts/makepkg
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-12-05 07:43:42 +0000
committerAaron Griffin <aaron@archlinux.org>2006-12-05 07:43:42 +0000
commit5a48e4f1b6f46679104427db6daa76d4681d0640 (patch)
tree9b1f706fb46413f65e521c63670cd8bcb35d47b9 /scripts/makepkg
parentf8b4b5257e97851df4730a136b7094e9cdf36f11 (diff)
Check status of final tar/compress package creation for final status (FS#3382)
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-xscripts/makepkg5
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..."