aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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|')