changeset 568:856ba27e397b

Actually make it give a PATH for distcc to find gcc with
author Mark Miller <mark@mirell.org>
date Mon, 05 Jan 2009 19:21:07 -0600
parents 5619a7375b74
children 128b3b0700bf
files sources/toys/run-emulator.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/toys/run-emulator.sh	Wed Jan 07 05:20:29 2009 -0600
+++ b/sources/toys/run-emulator.sh	Mon Jan 05 19:21:07 2009 -0600
@@ -59,7 +59,7 @@
   # Note that we tell it --no-detach and background it oursleves so jobs -p can
   # find it later to kill it after the emulator exits.
 
-  PATH="$(readlink -f "$1"/*-unknown-linux/bin)" "$DCC" --listen 127.0.0.1 \
+  PATH="$(readlink -f "$DISTCC_PATH"/*-unknown-linux/bin)" "$DCC" --listen 127.0.0.1 \
     --no-detach --log-file distccd.log --log-level warning --daemon \
     -a 127.0.0.1 -p $PORT &
   # Cleanup afterwards: Kill child processes we started (I.E. distccd).