From 2c67f4f75550ae82c85cf2d6b4593bcd912f7dd9 Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Mon, 2 Jun 2014 11:30:11 +0000 Subject: tools/ci-build: add possibility of changing directory on unix-like architectures git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14940 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- tools/ci-build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/ci-build b/tools/ci-build index de96090ebe..814ffdab76 100755 --- a/tools/ci-build +++ b/tools/ci-build @@ -16,7 +16,9 @@ # arguments: # 1. architecture: bsd, macos, linux, cygwin, mingw, mingw64, msvc, msvc64 -# 2. for windows, directory in which to build (trunk, 4.02, etc) +# 2. directory in which to build (trunk, 4.02, etc) +# for windows, this is relative to $HOME/jenkins-workspace +# for bsd, macos, linux, this is "." or an absolute directory # 3. options: # -conf configure-option # -patch1 file-name apply patch with -p1 @@ -75,7 +77,7 @@ done # default values make=make instdir="$HOME/ocaml-tmp-install" -workdir=. +workdir="$branch" docheckout=false nt= @@ -83,7 +85,7 @@ case "$arch" in bsd) make=gmake ;; - macos) ;; # FIXME to be checked + macos) ;; linux) ;; cygwin) workdir="$HOME/jenkins-workspace/$branch" -- cgit v1.2.1