diff options
author | Luca Falavigna <dktrkranz@debian.org> | 2009-12-05 18:16:34 +0100 |
---|---|---|
committer | Luca Falavigna <dktrkranz@debian.org> | 2009-12-05 18:16:34 +0100 |
commit | 1a27ae6f3d1e41ddb67db33a2874b564d747f15e (patch) | |
tree | 32495d308ccc600a39b6e09d648dde4f9f00b1e9 /debian/patches | |
parent | f31e2ca51277ffa03b4033b3b4cec3cb3f9558f0 (diff) |
Check for DH_INTERNAL_OPTIONS instead
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/remove_stale_files.patch | 2 |
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: |