diff options
Diffstat (limited to 'scripts')
-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..." |