From 5a48e4f1b6f46679104427db6daa76d4681d0640 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 5 Dec 2006 07:43:42 +0000 Subject: Check status of final tar/compress package creation for final status (FS#3382) --- scripts/makepkg | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/makepkg') 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..." -- cgit v1.2.3-70-g09d2