Skip to content

Instantly share code, notes, and snippets.

@brapse
Created March 18, 2009 02:10
Show Gist options
  • Save brapse/80893 to your computer and use it in GitHub Desktop.
Save brapse/80893 to your computer and use it in GitHub Desktop.
Index: SConstruct
===================================================================
--- SConstruct (revision 8951)
+++ SConstruct (working copy)
@@ -359,7 +359,7 @@
if os.path.exists('/usr/lib/ccache/bin'):
os.environ['PATH'] = '/usr/lib/ccache/bin:' + os.environ['PATH']
- env['ENV']['CCACHE_DIR'] = os.environ['CCACHE_DIR']
+ env['ENV']['CCACHE_DIR'] = os.environ.get('CCACHE_DIR')
env['ENV']['PATH'] = os.environ['PATH']
if PLATFORM == 'windows':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment