summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Silverstein <csilvers@khanacademy.org>2008-06-04 06:04:55 +0000
committerCraig Silverstein <csilvers@khanacademy.org>2008-06-04 06:04:55 +0000
commitfd72798a271881084b101ef1a04dbaa580f5cbf8 (patch)
treefce5b83dc0d5cf24cf5bf978762ff037625ea610
parent279100178995ecc29231373cc12e08e822d1a09e (diff)
downloaddistcc-git-fd72798a271881084b101ef1a04dbaa580f5cbf8.tar.gz
Get rid of setting is_in_installation; that variable isn't used
anywhere anymore, so no reason to set it. Tested by running 'make pump-maintainer-check'. Reviewed by klarlund
-rwxr-xr-xpump.in14
1 files changed, 0 insertions, 14 deletions
diff --git a/pump.in b/pump.in
index 93dd740..391a20c 100755
--- a/pump.in
+++ b/pump.in
@@ -171,20 +171,6 @@ Initialize() {
# installation to the 'include_server' directory.
include_server_relative="../$PYTHON_RELATIVE_LIB/include_server"
- # We use a little heuristic to determine whether this pump script is part of
- # an installation. Specifically, we check whether we're a bin directory, and
- # more importantly, we look for the include_server.py script. If we're running
- # out of the distcc_pump source directory, both conditions below will fail.
- if [ "`basename $DISTCC_LOCATION`" = 'bin' ] \
- && [ -f "$DISTCC_LOCATION/$include_server_relative/include_server.py" ]
- then
- # Running from installed directory.
- is_in_installation=true
- else
- # Running from configured directory, usually the source directory.
- is_in_installation=""
- fi
-
distcc_location="$DISTCC_LOCATION"
# Check that we're getting exactly the distcc client we want: the