minor checks
This commit is contained in:
parent
8451710878
commit
d69dd024a2
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ set -eu
|
|||
PRJ_ROOT=$(dirname $(cd "$(dirname $0)"; pwd))
|
||||
PREFIX=cryptobox
|
||||
|
||||
[ $# -lt 1 -o $# -gt 2 ] && echo "Syntax: `basename $0` VERSION" && echo && exit 1
|
||||
[ $# -lt 1 -o $# -gt 2 ] && echo "Syntax: `basename $0` VERSION {PATH}" && echo && exit 1
|
||||
REL_SRC_DIR=${PREFIX}-${1}
|
||||
[ $# -eq 2 ] && REL_SRC_DIR=$2
|
||||
SRC_DIR=$(cd "$(pwd)/$REL_SRC_DIR"; pwd)
|
||||
|
|
Loading…
Reference in a new issue