[Lunar-commits] r18963 - moonbase/trunk/distributed/distcc/plugin.d
Auke Kok
sofar at lunar-linux.org
Wed Mar 1 15:55:52 UTC 2006
Author: sofar
Date: 2006-03-01 15:55:49 +0000 (Wed, 01 Mar 2006)
New Revision: 18963
Modified:
moonbase/trunk/distributed/distcc/plugin.d/optimize-distcc.plugin
Log:
same here: protect against missing conf
Modified: moonbase/trunk/distributed/distcc/plugin.d/optimize-distcc.plugin
===================================================================
--- moonbase/trunk/distributed/distcc/plugin.d/optimize-distcc.plugin 2006-03-01 15:54:14 UTC (rev 18962)
+++ moonbase/trunk/distributed/distcc/plugin.d/optimize-distcc.plugin 2006-03-01 15:55:49 UTC (rev 18963)
@@ -5,7 +5,9 @@
plugin_distcc_optimize()
{
- . /etc/lunar/local/optimizations.DISTCC
+ if [ -f /etc/lunar/local/optimizations.DISTCC ]; then
+ . /etc/lunar/local/optimizations.DISTCC
+ fi
if [ "$USE_DISTCC" == "yes" ]; then
# we append distcc in case ccache is also used to
More information about the Lunar-commits
mailing list