diff options
author | fergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917> | 2009-12-30 04:25:36 +0000 |
---|---|---|
committer | fergus.henderson <fergus.henderson@01de4be4-8c4a-0410-9132-4925637da917> | 2009-12-30 04:25:36 +0000 |
commit | c665b0612eeecb4863de2b1e4700a588b22dd679 (patch) | |
tree | 222eb0eaee764bb52ff8a6b0c6d0d5722dea51c5 | |
parent | 9ecc861e861bdeba0e1ef319ca632f23fc2b6df0 (diff) | |
download | distcc-c665b0612eeecb4863de2b1e4700a588b22dd679.tar.gz |
Apply patch from Tal <tal.bav@gmail.com>:
In packaging/RedHat/init.d/distcc the executable is once refereed to
using the variable EXEC, and once as with the explicit expected name.
Change it to always use the EXEC variable.
git-svn-id: http://distcc.googlecode.com/svn/trunk@711 01de4be4-8c4a-0410-9132-4925637da917
-rw-r--r-- | packaging/RedHat/init.d/distcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/RedHat/init.d/distcc b/packaging/RedHat/init.d/distcc index f892fcf..d002f30 100644 --- a/packaging/RedHat/init.d/distcc +++ b/packaging/RedHat/init.d/distcc @@ -103,7 +103,7 @@ chmod 700 $TMPDIR RETVAL=0 -[ -x /usr/bin/distccd ] || exit 0 +[ -x $EXEC ] || exit 0 ALLOWFILE="" if test -f $CONFIGDIR/$DOMAIN/clients.allow; then |