From 1a27ae6f3d1e41ddb67db33a2874b564d747f15e Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Sat, 5 Dec 2009 18:16:34 +0100 Subject: Check for DH_INTERNAL_OPTIONS instead --- debian/patches/remove_stale_files.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/patches') 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: -- cgit v1.2.3