From: Jan Nieuwenhuizen Date: Wed, 21 Dec 2005 01:16:52 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: release/2.7.25~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=aba6b2472aea20379628ef183b8df54a05146844;p=lilypond.git *** empty log message *** --- diff --git a/stepmake/bin/install.py b/stepmake/bin/install.py index 6c6f876b3d..e3fb48a017 100644 --- a/stepmake/bin/install.py +++ b/stepmake/bin/install.py @@ -71,7 +71,7 @@ for f in args: chown_me.append (f) else: if copy: - if os.path.exists (dest): + if os.path.exists (dest) and not os.path.isdir (dest): os.remove (dest) shutil.copy2 (f, dest) else: