diff options
author | Luca Falavigna <dktrkranz@debian.org> | 2009-09-08 00:40:52 +0200 |
---|---|---|
committer | Luca Falavigna <dktrkranz@debian.org> | 2009-09-08 00:40:52 +0200 |
commit | e1b9d466111911bd6270ad864d398de90093d205 (patch) | |
tree | f1893cf271e44f811f391392b4d26857af47851e /debian/patches/remove_broken_symlinks.patch | |
parent | 79ea7b35b8b94ddfe903702fde5931990bbfbdca (diff) |
Remove patches merged upstream
Diffstat (limited to 'debian/patches/remove_broken_symlinks.patch')
-rw-r--r-- | debian/patches/remove_broken_symlinks.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/debian/patches/remove_broken_symlinks.patch b/debian/patches/remove_broken_symlinks.patch deleted file mode 100644 index 653500a..0000000 --- a/debian/patches/remove_broken_symlinks.patch +++ /dev/null @@ -1,20 +0,0 @@ -Description: In Clean() routine, try to delete symlinks even if files they point to are not available -Origin: Debian -Bug-Debian: http://bugs.debian.org/485521 -Forwarded: http://scons.tigris.org/issues/show_bug.cgi?id=2095 - -Index: scons-1.2.0/engine/SCons/Script/Main.py -=================================================================== ---- scons-1.2.0.orig/engine/SCons/Script/Main.py 2008-12-26 17:46:29.470044569 +0100 -+++ scons-1.2.0/engine/SCons/Script/Main.py 2008-12-26 17:46:40.238042348 +0100 -@@ -328,6 +328,10 @@ - # then delete dir itself - if remove: os.rmdir(path) - display("Removed directory " + pathstr) -+ else: -+ if os.path.islink(path): -+ if remove: os.unlink(path) -+ display("Removed " + pathstr) - except (IOError, OSError), e: - print "scons: Could not remove '%s':" % pathstr, e.strerror - |