summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-15 22:51:58 +0100
committerGünther Deschner <gd@samba.org>2011-03-15 23:38:43 +0100
commit5e3da3fc50e7cb47c557be92b03456ded9a8435a (patch)
tree943532e3a74b436677b244120e5ea91d02596ffe /source3/wscript
parentc287351d0553dec62f1929f46e3c34278317b2a4 (diff)
downloadsamba-5e3da3fc50e7cb47c557be92b03456ded9a8435a.tar.gz
samba-5e3da3fc50e7cb47c557be92b03456ded9a8435a.tar.bz2
samba-5e3da3fc50e7cb47c557be92b03456ded9a8435a.zip
s3-build: try to silence annoying "Ignoring invalid value 'vlp' for parameter 'printing'"
warning on the buildfarm. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 15 23:38:43 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/wscript b/source3/wscript
index 86af6b38c1..508f270039 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1292,9 +1292,9 @@ main() {
msg='Checking for ftruncate extend',
addmain=False,
execute=True)
-
- if os.environ.get('RUN_FROM_BUILD_FARM') is not None:
- conf.define('ENABLE_BUILD_FARM_HACKS', '1')
+ if os.getenv('RUN_FROM_BUILD_FARM'):
+ Logs.info("enabling buildfarm hacks")
+ conf.DEFINE('ENABLE_BUILD_FARM_HACKS', '1')
if Options.options.with_sendfile_support:
if (host_os.rfind('linux') > -1) or (host_os.rfind('gnu') > -1) or (host_os.rfind('k*bsd*-gnu') > -1) or (host_os.rfind('kopensolaris*-gnu') > -1):