Skip to content

Commit

Permalink
Fix extra '/'s in previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyp committed Nov 14, 2010
1 parent 384aa5d commit 487c875
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions releaseBranch
Expand Up @@ -73,16 +73,16 @@ git commit -am "make -Cpo update-po"
echo "${A}Bumping version strings to ${FULLVERSTR} and netcode version to ${DATENUM}.${B}"

sed -i 's/\(wc_uri=\)'"${BASE}"'$/\1'"${FULLVERSTR}"'/
' "${GITROOT}"/autorevision.conf
' "${GITROOT}"autorevision.conf
sed -i 's/\(AC_INIT(\[Warzone 2100\],\[\)'"${BASE}"'\(\],\[http:\/\/wz2100.net\/\],\[warzone2100\])\)/\1'"${FULLVERSTR}"'\2/;
s/\(\[ enable_debug=${enableval} \], \[ enable_debug=\)yes\( \])\)/\1no\2/
' "${GITROOT}"/configure.ac
' "${GITROOT}"configure.ac
sed -i 's/\(char VersionString\[VersionStringSize\] = "\).*\(";\)/\1'"${FULLVERSTR}"'\2/;
s/\(static int NETCODE_VERSION_MINOR = \)[0-9]*\(;\)/\1'"${DATENUM}"'\2/
' "${GITROOT}"/lib/netplay/netplay.c
' "${GITROOT}"lib/netplay/netplay.c
sed -i 's/\(VALUE "FileVersion", "\)'"${BASE}"'\("\)/\1'"${FULLVERSTR}"'\2/;
s/\(VALUE "ProductVersion", "\)'"${BASE}"'\("\)/\1'"${FULLVERSTR}"'\2/;
' "${GITROOT}"/win32/warzone2100.rc "${GITROOT}"/win32/warzone2100.vs2k5.rc "${GITROOT}"/win32/warzone2100.vs2k8.rc
' "${GITROOT}"win32/warzone2100.rc "${GITROOT}"win32/warzone2100.vs2k5.rc "${GITROOT}"win32/warzone2100.vs2k8.rc

git commit -am "Bumping version strings to ${FULLVERSTR} and netcode version to ${DATENUM}."

Expand Down

0 comments on commit 487c875

Please sign in to comment.