[PC-BSD Commits] r8190 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Fri Dec 10 07:49:35 PST 2010


Author: kris
Date: 2010-12-10 07:49:35 -0800 (Fri, 10 Dec 2010)
New Revision: 8190

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Added warning if header fails to create



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-10 15:24:29 UTC (rev 8189)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-10 15:49:35 UTC (rev 8190)
@@ -4386,7 +4386,10 @@
 	sign_pbi_files "${_pbiPatchHeaderDir}"
 
 	# Make the header tmpfile
-	tar cv${_tcmp}f "${_pbiPatchHeaderFile}" -C ${_pbiPatchHeaderDir} . 2>/dev/null 
+	tar cvjf "${_pbiPatchHeaderFile}" -C ${_pbiPatchHeaderDir} . 2>/dev/null 
+	if [ "$?" != "0" ] ; then
+		echo "Warning: TAR returned error creating header archive!"
+	fi
 	rm -rf ${_pbiPatchHeaderDir} 
 	
 	# Make the pbp file



More information about the Commits mailing list