[PC-BSD Commits] r496 - pcbsd/trunk/system-overlay/PCBSD/Scripts/Context

svn at pcbsd.org svn at pcbsd.org
Mon Jul 16 14:31:20 PDT 2007


Author: kris
Date: 2007-07-16 22:31:19 +0100 (Mon, 16 Jul 2007)
New Revision: 496

Modified:
   pcbsd/trunk/system-overlay/PCBSD/Scripts/Context/compress.sh
Log:

Added options to use zip compression to script



Modified: pcbsd/trunk/system-overlay/PCBSD/Scripts/Context/compress.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/Scripts/Context/compress.sh	2007-07-16 21:28:58 UTC (rev 495)
+++ pcbsd/trunk/system-overlay/PCBSD/Scripts/Context/compress.sh	2007-07-16 21:31:19 UTC (rev 496)
@@ -17,6 +17,12 @@
   bzip2 "${3}"
 fi
 
+if [ "${1}" = "zip" ]
+then
+  cd "${2}"
+  zip "${3}"
+fi
+
 if [ "${1}" = "tgz" ]
 then
  



More information about the Commits mailing list