summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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..."