diff options
author | csilvers <csilvers@01de4be4-8c4a-0410-9132-4925637da917> | 2008-06-10 00:52:08 +0000 |
---|---|---|
committer | csilvers <csilvers@01de4be4-8c4a-0410-9132-4925637da917> | 2008-06-10 00:52:08 +0000 |
commit | d10341e797df5a51cbb20a1455f2adebb1977518 (patch) | |
tree | 5158ec2550c7e464bc638d2cd3c3bfc73f5a1009 | |
parent | c45deaf0c59cd11a8055f4043235c06f6c9cc018 (diff) | |
download | distcc-d10341e797df5a51cbb20a1455f2adebb1977518.tar.gz |
Apparently, for freebsd's sh at least, "eval FOO=a bar" lets bar see
FOO=a, while "FOO=a eval bar" does not. So change from the latter
formulation to the former.
Tested by running 'make pump-maintainer-check' on freebsd and on linux
(ubuntu).
Reviewed by klarlund
git-svn-id: http://distcc.googlecode.com/svn/trunk@499 01de4be4-8c4a-0410-9132-4925637da917
-rwxr-xr-x | pump.in | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -275,14 +275,15 @@ StartIncludeServer() { # # which will pass '*' to the include server (that is, the string consisting # of one asterisk) without filename expansion. - PYTHONOPTIMIZE=$PYTHONOPTIMIZE \ - PYTHONPATH="$pythonpath::$PYTHONPATH" \ - eval "'$PYTHON'" \ - "'$include_server'" \ - --port "'$socket'" \ - --pid_file "'$tmp_pid_file'" \ - -d1 \ - $INCLUDE_SERVER_ARGS + eval \ + PYTHONOPTIMIZE=$PYTHONOPTIMIZE \ + PYTHONPATH="$pythonpath::$PYTHONPATH" \ + "'$PYTHON'" \ + "'$include_server'" \ + --port "'$socket'" \ + --pid_file "'$tmp_pid_file'" \ + -d1 \ + $INCLUDE_SERVER_ARGS ) # solaris sh's built-in test does not support -S, so we need to use |