mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
scripts: Fix multiple shellcheck warnings
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8564 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
# Update the version number in SCST source files.
|
||||
|
||||
usage() {
|
||||
echo "Usage: $(basename $0) <major> <minor> <release> [<suffix>]"
|
||||
echo "Usage: $(basename "$0") <major> <minor> <release> [<suffix>]"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ $# != 3 -a $# != 4 ]; then
|
||||
if [ $# != 3 ] && [ $# != 4 ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user