]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - mkunxarc.sh
Remove an unused variable (should shut up a warning from GCC 4.6).
[PuTTY.git] / mkunxarc.sh
index 7e8d367c34b5ab2cda171156b874e65c31845133..7c69c2f6fbdd925039fe9c98360087b65039ef52 100755 (executable)
@@ -4,7 +4,8 @@
 #
 # Pass an argument of the form `2004-02-08' to have the archive
 # tagged as a development snapshot; of the form `0.54' to have it
-# tagged as a release.
+# tagged as a release; of the form `r1234' to have it tagged as a
+# custom build. Otherwise it'll be tagged as unidentified.
 
 case "$1" in
   ????-??-??)
@@ -13,6 +14,11 @@ case "$1" in
     ver="-DSNAPSHOT=$1"
     docver=
     ;;
+  r*)
+    arcsuffix="-$1"
+    ver="-DSVN_REV=$1"
+    docver=
+    ;;
   '')
     arcsuffix=
     ver=