[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10409: have makexpi.sh exclude .svn directories (torbutton/trunk)



Author: squires
Date: 2007-05-30 02:01:31 -0400 (Wed, 30 May 2007)
New Revision: 10409

Modified:
   torbutton/trunk/makexpi.sh
Log:
have makexpi.sh exclude .svn directories

Modified: torbutton/trunk/makexpi.sh
===================================================================
--- torbutton/trunk/makexpi.sh	2007-05-30 05:11:40 UTC (rev 10408)
+++ torbutton/trunk/makexpi.sh	2007-05-30 06:01:31 UTC (rev 10409)
@@ -11,14 +11,14 @@
 # create jar file (we're just storing files here)
 echo ---------- create $APP_NAME.jar file ----------
 cd src/chrome
-zip -r0 ../../$APP_NAME.jar ./
+zip -r0 ../../$APP_NAME.jar ./ -x "*.svn/*"
 cd ../..
 
 # create .xpi
 echo ---------- create $APP_NAME.xpi ----------
 cd src
-echo zip -9r ../pkg/$XPI_NAME ./ -x chrome/\*
-zip -9r ../pkg/$XPI_NAME ./ -x "chrome/*"
+echo zip -9r ../pkg/$XPI_NAME ./ -x "chrome/*" -x "*.svn/*"
+zip -9r ../pkg/$XPI_NAME ./ -x "chrome/*" -x "*.svn/*"
 mv ../$APP_NAME.jar ./chrome
 zip -9m ../pkg/$XPI_NAME chrome/$APP_NAME.jar
 cd ..