devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1686787 - /devicemap/trunk/check_release_matches_tag.sh
Date Mon, 22 Jun 2015 07:37:23 GMT
Author: bdelacretaz
Date: Mon Jun 22 07:37:23 2015
New Revision: 1686787

URL: http://svn.apache.org/r1686787
Log:
Usage message

Modified:
    devicemap/trunk/check_release_matches_tag.sh

Modified: devicemap/trunk/check_release_matches_tag.sh
URL: http://svn.apache.org/viewvc/devicemap/trunk/check_release_matches_tag.sh?rev=1686787&r1=1686786&r2=1686787&view=diff
==============================================================================
--- devicemap/trunk/check_release_matches_tag.sh (original)
+++ devicemap/trunk/check_release_matches_tag.sh Mon Jun 22 07:37:23 2015
@@ -4,6 +4,13 @@
 # usage:
 #  sh check_release_matches_tag.sh 004 /tmp/devicemap-staging
 #
+
+if [ -z "${2}" -o -z "${1}" ]
+then
+ echo "Usage: `basename $0` <staging-number> [temp-directory]"
+ exit
+fi
+
 BASE=$2/$1/org/apache/devicemap
 TAGBASE=http://svn.apache.org/repos/asf/devicemap/tags/releases
 



Mime
View raw message