bump_version_set_code_name.sh: check number of parameters

This commit is contained in:
Moritz Bunkus 2017-12-17 17:24:53 +01:00
parent 5db39f03f5
commit 55e2b64e9d

View File

@ -2,7 +2,7 @@
set -e
if [[ ( -z $1 ) || ( -z $2 ) ]]; then
if (( ${#@} != 2 )); then
echo Usage: mkvver newver codename
exit 1
fi