aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-29 21:31:59 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-29 21:31:59 +0000
commit232fa896f541df20cac90eb862132523429691bd (patch)
treea965f2a1938ea97e97000e05325729c382a20854
parent63c6ae69b76d22a5b25fc2e8eb02f0ab6be216f9 (diff)
make builds use Fink fully, rather than just tacked onto the PATH (. /sw/bin/init.sh)
svn path=/trunk/; revision=16996
-rwxr-xr-xscripts/auto-build/run-automated-builder9
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|')