is in the way, verify that if points to a directory before accepting it,
otherwise move it out of the way.
svn path=/main/trunk/; revision=11920
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: