[Greater-commits] r442 - trunk/packaging
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 13 17:02:16 CEST 2011
Author: aheinecke
Date: 2011-07-13 17:02:15 +0200 (Wed, 13 Jul 2011)
New Revision: 442
Modified:
trunk/packaging/makeinstaller.py
Log:
Correctly sort the dirlist
Modified: trunk/packaging/makeinstaller.py
===================================================================
--- trunk/packaging/makeinstaller.py 2011-07-13 14:55:20 UTC (rev 441)
+++ trunk/packaging/makeinstaller.py 2011-07-13 15:02:15 UTC (rev 442)
@@ -81,7 +81,9 @@
else:
unptr.write('Delete "%s"\r\n' % \
fname.replace(absdir, "$INSTDIR"))
- for dir in dirlist.sort(lambda x: len(x)):
+ dirlist.sort(lambda x: len(x))
+ dirlist.reverse()
+ for dir in dirlist:
unptr.write('RMDir "%s"\r\n' % dir)
unptr.write('RMDir "$INSTDIR"')
fptr.close()
More information about the Greater-commits
mailing list