Merge pull request #1374 from brainpage/symlink_fix

symlink fix
This commit is contained in:
Michael DeHaan 2012-10-18 16:57:25 -07:00
commit 655682b7bb

View file

@ -340,7 +340,7 @@ def main():
if src:
src = os.path.expanduser(src)
if src is not None and os.path.isdir(path):
if src is not None and os.path.isdir(path) and state != "link":
params['path'] = path = os.path.join(path, os.path.basename(src))
mode = params.get('mode', None)