[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/icecream/icecream/client
From: Grzegorz Jaskiewicz <gj () pointblue ! com ! pl>
Date: 2005-09-02 12:38:45
Message-ID: 1125664725.715932.21230.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 456267 by gj:
export ICECC=no will switch on local job.
I got coloo's blessing
M +11 -1 main.cpp
--- trunk/kdenonbeta/icecream/icecream/client/main.cpp #456266:456267
@@ -159,8 +159,18 @@
dcc_ignore_sigpipe(1);
CompileJob job;
- local = analyse_argv( argv, job );
+ /* We can disable remote jobs using NO_ICECC env variable */
+ if ( getenv( "ICECC" ) ) {
+ string icecc;
+ icecc = getenv( "ICECC" );
+ if ( icecc == "no" ) {
+ local = true;
+ }
+ }
+
+ local |= analyse_argv( argv, job );
+
pid_t pid = 0;
/* for local jobs, we fork off a child that tells the scheduler that we got something
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic