summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-25 04:30:39 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-25 05:01:17 -0400
commitb4fc89ac29137e4b49e1db326400eaa7762bff06 (patch)
tree19040b1473d8bfbfb7a8ce2bd0be8ed4e815cd06
parentd258bbc2f5d1a2cb7f61c1f4c2c00ee77016df9f (diff)
downloadledger-b4fc89ac29137e4b49e1db326400eaa7762bff06.tar.gz
ledger-b4fc89ac29137e4b49e1db326400eaa7762bff06.tar.bz2
ledger-b4fc89ac29137e4b49e1db326400eaa7762bff06.zip
Clarified some boolean logic in acprep
-rwxr-xr-xacprep4
1 files changed, 2 insertions, 2 deletions
diff --git a/acprep b/acprep
index 9a3f2a7f..dd65ae1d 100755
--- a/acprep
+++ b/acprep
@@ -772,8 +772,8 @@ class PrepareBuild(CommandLineApp):
self.option_no_pch()
if '--enable-pch' not in self.configure_args and \
- exists('/opt/local/bin/ccache') or \
- exists('/usr/local/bin/ccache'):
+ (exists('/opt/local/bin/ccache') or \
+ exists('/usr/local/bin/ccache')):
self.envvars['CC'] = 'ccache ' + self.envvars['CC']
self.envvars['CXX'] = 'ccache ' + self.envvars['CXX']
self.envvars['LD'] = 'ccache ' + self.envvars['LD']