From c6abed77f972e65f911e6cf3d115e21d48c0fbc6 Mon Sep 17 00:00:00 2001 From: div0 Date: Fri, 20 Apr 2007 13:16:15 +0000 Subject: [PATCH] makebuild updated git-svn-id: svn://svn.icculus.org/nexuiz/trunk@2368 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- misc/makebuild.sh | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/misc/makebuild.sh b/misc/makebuild.sh index c3a924fe0..23d8f0633 100755 --- a/misc/makebuild.sh +++ b/misc/makebuild.sh @@ -12,24 +12,14 @@ case "$pw" in zipflags="-P $pw" ;; esac -case "$version" in - [0-9]*) - versiontag= - ext=_v$version - version=$version - ;; - *) - version= - ;; -esac -case "$versiontag" in - '') - ;; - *) - version='$1'$versiontag - versiontag=$versiontag - ;; -esac + +: ${date:=`date +%Y%m%d`} +: ${versiontag:=} +echo "date stamp: $date" + +version=2-svntest-$date +versiontag=test +defaultcfg="cl_nettimesyncmode 6" basepk3=$base/data20060905.pk3 nexdir=$base/nexuiz @@ -60,10 +50,6 @@ if [ -n "$conflicts" ]; then exit 1 fi -: ${date:=`date +%Y%m%d`} -: ${versiontag:=} -echo "date stamp: $date" - set -x buildosx() @@ -183,6 +169,8 @@ if [ -n "$versiontag" ]; then perl -pi -e '/^set g_nexuizversion/ and $_ = "showbrand 1\n$_"' default.cfg cp "$buildfiles/brand/$versiontag.tga" gfx/brand.tga fi +echo >> default.cfg +echo "$defaultcfg" >> default.cfg 7za a -mx=7 -tzip ../data.pk3 . cd "$tmpdir" -- 2.39.2