wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/utils splittree


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/utils splittree
Date: Sun, 23 Jan 2005 10:54:59 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    05/01/23 15:54:59

Modified files:
        utils          : splittree 

Log message:
        do not zip music and translations ; add a coredata zip

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/utils/splittree.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: wesnoth/utils/splittree
diff -u wesnoth/utils/splittree:1.2 wesnoth/utils/splittree:1.3
--- wesnoth/utils/splittree:1.2 Sun Jan  9 21:50:17 2005
+++ wesnoth/utils/splittree     Sun Jan 23 15:54:59 2005
@@ -21,7 +21,16 @@
 dirs_locales=translations
 dirs_junk='scenario-test.cfg convert.pl README man'
 
-for p in music sound httt ei sotbe tdh trow devel editor tutorial mp locales 
junk
+# must be last in $parts !
+dirs_coredata='data images'
+
+parts="sound httt ei sotbe tdh trow devel editor tutorial mp junk coredata"
+if [ "x$dst" != "x--zip" ]
+then
+    parts="music locales $parts"
+fi
+
+for p in $parts
 do
     [ "x$dst" = "x--zip" ] || rm -rf $dst/wesnoth-$p
     eval dirs=\${dirs_$p}
@@ -32,7 +41,8 @@
     done
     if [ "x$dst" = "x--zip" ]
     then
-       (cd $src && zip -Drum wesnoth-$p.zip $(find $findexpr))
+       rm -f $src/wesnoth-$p.zip
+       (cd $src && zip -Drm wesnoth-$p.zip $(find $findexpr))
     else
        for d in $(cd $src && find $findexpr)
        do




reply via email to

[Prev in Thread] Current Thread [Next in Thread]