minor checks

This commit is contained in:
age 2006-12-05 16:21:29 +00:00
parent 8451710878
commit d69dd024a2

View file

@ -5,7 +5,7 @@ set -eu
PRJ_ROOT=$(dirname $(cd "$(dirname $0)"; pwd)) PRJ_ROOT=$(dirname $(cd "$(dirname $0)"; pwd))
PREFIX=cryptobox 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} REL_SRC_DIR=${PREFIX}-${1}
[ $# -eq 2 ] && REL_SRC_DIR=$2 [ $# -eq 2 ] && REL_SRC_DIR=$2
SRC_DIR=$(cd "$(pwd)/$REL_SRC_DIR"; pwd) SRC_DIR=$(cd "$(pwd)/$REL_SRC_DIR"; pwd)