forked from github/server
guess the ERESSEA environment if it is missing
This commit is contained in:
parent
74582aeb2f
commit
8432a6369d
|
@ -118,7 +118,8 @@ while getopts :g:t:f:v: o; do
|
|||
done
|
||||
shift $((OPTIND-1))
|
||||
|
||||
[ -d $ERESSEA ] || echo "invalid or missing env variable ERESSEA ($ERESSEA)"
|
||||
[ -z $ERESSEA ] && ERESSEA=$HOME/eressea
|
||||
[ -d $ERESSEA ] || abort "invalid or missing env variable ERESSEA ($ERESSEA)"
|
||||
[ -z $1 ] && usage
|
||||
[ -z $SOURCE ] && SOURCE=$ERESSEA/git
|
||||
[ -d $SOURCE ] || abort "missing source directory: $SOURCE"
|
||||
|
|
Loading…
Reference in New Issue