summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcsilvers <csilvers@01de4be4-8c4a-0410-9132-4925637da917>2008-06-10 00:52:08 +0000
committercsilvers <csilvers@01de4be4-8c4a-0410-9132-4925637da917>2008-06-10 00:52:08 +0000
commitd10341e797df5a51cbb20a1455f2adebb1977518 (patch)
tree5158ec2550c7e464bc638d2cd3c3bfc73f5a1009
parentc45deaf0c59cd11a8055f4043235c06f6c9cc018 (diff)
downloaddistcc-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-xpump.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/pump.in b/pump.in
index d9d61d5..9fe8bbf 100755
--- a/pump.in
+++ b/pump.in
@@ -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