diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-29 21:31:59 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-29 21:31:59 +0000 |
commit | 232fa896f541df20cac90eb862132523429691bd (patch) | |
tree | a965f2a1938ea97e97000e05325729c382a20854 | |
parent | 63c6ae69b76d22a5b25fc2e8eb02f0ab6be216f9 (diff) |
make builds use Fink fully, rather than just tacked onto the PATH (. /sw/bin/init.sh)
svn path=/trunk/; revision=16996
-rwxr-xr-x | scripts/auto-build/run-automated-builder | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/auto-build/run-automated-builder b/scripts/auto-build/run-automated-builder index bbef063c..11f8fc3a 100755 --- a/scripts/auto-build/run-automated-builder +++ b/scripts/auto-build/run-automated-builder @@ -1,11 +1,12 @@ #!/bin/sh +# go to a directory that we know exists everywhere, including chroots ;) cd / -# On Mac OS X, there are some handy things in Fink, but don't override the -# built-in tools -PATH="${PATH}:/sw/bin:/sw/sbin" -export PATH +# if on Mac OS X, include Fink for all of the libs and tools +if [ -e /sw/bin/init.sh ]; then + . /sw/bin/init.sh +fi # the source dir where this script is SCRIPT_DIR=$(echo $0 | sed 's|\(.*\)/.*$|\1|') |