summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLisa M. Seelye <lisa@gentoo.org>2004-03-21 21:44:24 +0000
committerLisa M. Seelye <lisa@gentoo.org>2004-03-21 21:44:24 +0000
commitaedbf203f080e82a699101adce8361a80ce4d9b6 (patch)
tree94a5c3e7c48f8380fb70fc7f6bf82cb591c3de7e /sys-devel/distcc/files
parentThough 0.7.x was intended to be development branch, it seems stable enough an... (diff)
downloadgentoo-2-aedbf203f080e82a699101adce8361a80ce4d9b6.tar.gz
gentoo-2-aedbf203f080e82a699101adce8361a80ce4d9b6.tar.bz2
gentoo-2-aedbf203f080e82a699101adce8361a80ce4d9b6.zip
Change the init script to do TMPDIR=TMPDIR basically so that the user can inherit a new TMPDIR location. Closes bug #44915
Diffstat (limited to 'sys-devel/distcc/files')
-rw-r--r--sys-devel/distcc/files/2.11.1p/init3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/distcc/files/2.11.1p/init b/sys-devel/distcc/files/2.11.1p/init
index 9d57b2cae862..d4e6df454bb9 100644
--- a/sys-devel/distcc/files/2.11.1p/init
+++ b/sys-devel/distcc/files/2.11.1p/init
@@ -1,5 +1,5 @@
#!/sbin/runscript
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/files/2.11.1p/init,v 1.2 2004/03/02 17:23:01 lisa Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/distcc/files/2.11.1p/init,v 1.3 2004/03/21 21:44:24 lisa Exp $
depend() {
need net
@@ -8,6 +8,7 @@ depend() {
start() {
rm -f ${DISTCCD_PIDFILE}
ebegin "Starting distccd"
+ TMPDIR="${TMPDIR}" \
PATH="$(gcc-config --get-bin-path):${PATH}" \
/sbin/start-stop-daemon --start --quiet --startas ${DISTCCD_EXEC} \
--pidfile ${DISTCCD_PIDFILE} -- \