aboutsummaryrefslogtreecommitdiff
path: root/make-release.sh
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-19 15:28:49 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-19 15:28:49 +0000
commitf066506e39a9e67ded2697570637e07bcf371dcf (patch)
treeb84df6b2124192ffcac54cc855f09e1c827d3c2b /make-release.sh
parent669fc8eb80a26b2cb76816f9f695d13f0c44367c (diff)
added arg checking
svn path=/trunk/externals/hardware/arduino/; revision=12615
Diffstat (limited to 'make-release.sh')
-rwxr-xr-xmake-release.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-release.sh b/make-release.sh
index 046d9d3..a79785a 100755
--- a/make-release.sh
+++ b/make-release.sh
@@ -1,5 +1,10 @@
#!/bin/sh
+if [ $# -ne 2 ]; then
+ echo "Usage: $0 PDUINO_VERSION FIRMATA_VERSION"
+ exit
+fi
+
PDUINO_VERSION=$1
FIRMATA_VERSION=$2