httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r111365 - /httpd/httpd/dist/tools/release.sh
Date Thu, 09 Dec 2004 08:30:51 GMT
Author: jerenkrantz
Date: Thu Dec  9 00:30:49 2004
New Revision: 111365

URL: http://svn.apache.org/viewcvs?view=rev&rev=111365
Log:
* httpd-dist/tools/release.sh: Add --postfix option to just set the tarball
  name accordingly; remove bogus comment.

Modified:
   httpd/httpd/dist/tools/release.sh

Modified: httpd/httpd/dist/tools/release.sh
Url: http://svn.apache.org/viewcvs/httpd/httpd/dist/tools/release.sh?view=diff&rev=111365&p1=httpd/httpd/dist/tools/release.sh&r1=111364&p2=httpd/httpd/dist/tools/release.sh&r2=111365
==============================================================================
--- httpd/httpd/dist/tools/release.sh	(original)
+++ httpd/httpd/dist/tools/release.sh	Thu Dec  9 00:30:49 2004
@@ -35,9 +35,14 @@
       shift 3
       ;;
 
-   --*)
+    --postfix)
+      postfix="$2"
+      shift 2 
+      ;;
+
+    --*)
      echo "Unknown option '$1'" >&2
-     echo "USAGE: $0 [--security] [--tag TAG POSTFIX] PROJECT VERSION [SIGNING-USER]" >&2
+     echo "USAGE: $0 [--security] [--tag TAG POSTFIX] [--postfix POSTFIX] PROJECT VERSION
[SIGNING-USER]" >&2
      echo "  see the comments in this script for more info." >&2
      exit 1
      ;;
@@ -50,7 +55,7 @@
 done
 
 if test "$#" != 2 && test "$#" != 3; then
-  echo "USAGE: $0 [--security] [--tag TAG POSTFIX] PROJECT VERSION [SIGNING-USER]" >&2
+  echo "USAGE: $0 [--security] [--tag TAG POSTFIX] [--postfix POSTFIX] PROJECT VERSION [SIGNING-USER]"
>&2
   echo "  see the comments in this script for more info." >&2
   exit 1
 fi
@@ -142,7 +147,6 @@
 echo ""
 
 svn export http://svn.apache.org/repos/asf/httpd/httpd/tags/${tagname} ${dirname} > /dev/null
|| exit 1
-# > /dev/null || exit 1
 
 ### Add a check to see if what was checked out matches $vsn
 

Mime
View raw message