From: bert hubert Date: Wed, 26 Nov 2014 09:46:31 +0000 (+0100) Subject: make set-version-recursor complain if invoked incorrectly X-Git-Tag: rec-3.7.0-rc1~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b8d78c3de7b10fdbebc2e5a5c338b0cba93bf84;p=thirdparty%2Fpdns.git make set-version-recursor complain if invoked incorrectly --- diff --git a/build-scripts/set-version-recursor b/build-scripts/set-version-recursor index 621e048966..e0e00c78c0 100755 --- a/build-scripts/set-version-recursor +++ b/build-scripts/set-version-recursor @@ -1,4 +1,7 @@ #!/usr/bin/env bash + +if [ "$#" -ne "3" ] ; then echo "Syntax: set-version-recursor VERSION DEB_VERSION RPM_VERSION"; exit ; fi + VERSION=$1 DEB_VERSION=$2 RPM_VERSION=$3