ci golf, second shot

master
Damien Doligez 2016-12-19 17:42:48 +01:00
parent 4b76b3b8a6
commit afbd5a389a
1 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,10 @@ quote1 () {
# be verbose
set -x
#########################################################################
# Save the current directory (on cygwin, /etc/profile changes it)
jenkinsdir="$(pwd)"
#########################################################################
# "Parse" mandatory command-line arguments.
@ -86,7 +90,7 @@ makefile=Makefile
configure=unix
case "$branch" in
.) workdir=.
.) workdir="$jenkinsdir"
docheckout=false
;;
*) workdir="$HOME/jenkins-workspace/$branch"