From 9cb412b41f45a9f1e76693247262208db112982d Mon Sep 17 00:00:00 2001 From: mcmartin Date: Tue, 19 Dec 2006 02:21:00 +0000 Subject: [PATCH] Updated the content packaging script, which had fallen out of sync in the repository. This also hopefully should serve to announce that UQM development has shifted over to the SourceForge's Subversion servers, and so a new checkout with the command: svn co https://sc2.svn.sourceforge.net/svnroot/sc2/trunk uqm would be wise. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2630 8092fc87-c524-0410-9efc-e669fe64eaf9 --- tools/uqmzip/uqmzip | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tools/uqmzip/uqmzip b/tools/uqmzip/uqmzip index b74b5985a..5f3d19bc6 100755 --- a/tools/uqmzip/uqmzip +++ b/tools/uqmzip/uqmzip @@ -17,11 +17,14 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -VERSION=0.4.0 +VERSION=0.6.0 -LIST_DIR=/home/uqm/var/uqmzip -PKG_DIR=/home/uqm/var/uqmzip -SOURCE_DIR=/home/uqm/cvs/sc2 +# THESE MUST BE DEFINED, PREFERABLY AS ABSOLUTE PATHS, BEFORE RUNNING +# THIS SCRIPT + +LIST_DIR=/invalid/dir +PKG_DIR=/invalid/dir +SOURCE_DIR=/invalid/dir CONTENT_DIR=$SOURCE_DIR/content CONTENT_LIST=$LIST_DIR/uqm-$VERSION-content.lst @@ -36,7 +39,7 @@ ZIP="zip -X -q -n .ogg -8" make_content_list() { cd "$CONTENT_DIR" - find . -type f -not -path '*/CVS*' -and -not -name "*.ogg" | sort > "$CONTENT_LIST" + find . -type f -not -path '*/CVS*' -and -not -name "*.ogg" -and -not -name "version" | sort > "$CONTENT_LIST" } make_voice_list() {