is in the way, verify that if points to a directory before accepting it,
otherwise move it out of the way. (trunk r11920)
svn path=/main/branches/2.1.6/; revision=11921
writemsg("!!! And finish by running this: env-update\n\n")
return 1
- if stat.S_ISLNK(mydmode) or stat.S_ISDIR(mydmode):
+ if stat.S_ISDIR(mydmode) or \
+ (stat.S_ISLNK(mydmode) and os.path.isdir(mydest)):
# a symlink to an existing directory will work for us; keep it:
showMessage("--- %s/\n" % mydest)
if bsd_chflags: