summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/remove_stale_files.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/remove_stale_files.patch b/debian/patches/remove_stale_files.patch
index 9d776f0..39c0090 100644
--- a/debian/patches/remove_stale_files.patch
+++ b/debian/patches/remove_stale_files.patch
@@ -13,7 +13,7 @@ Index: scons-1.2.0.d20090905/engine/SCons/Script/Main.py
+ # Remove temporary files left by SCons
+ if options.clean:
-+ if os.getenv('DEB_BUILD_ARCH_OS'):
++ if os.environ.has_key('DH_INTERNAL_OPTIONS'):
+ import shutil
+ for path in ('.sconsign.dblite', '.sconf_temp'):
+ try: