diff options
-rwxr-xr-x | make-release.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/make-release.sh b/make-release.sh index a79785a..5d5c328 100755 --- a/make-release.sh +++ b/make-release.sh @@ -1,11 +1,11 @@ #!/bin/sh -if [ $# -ne 2 ]; then - echo "Usage: $0 PDUINO_VERSION FIRMATA_VERSION" +if [ $# -ne 1 ]; then + echo "Usage: $0 FIRMATA_VERSION" exit fi -PDUINO_VERSION=$1 +PDUINO_VERSION=`grep version_ arduino.pd | sed 's|.*version_\(.*\);|\1|'` FIRMATA_VERSION=$2 PDUINO_DIR=Pduino-${PDUINO_VERSION} |