From aba6b2472aea20379628ef183b8df54a05146844 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 21 Dec 2005 01:16:52 +0000 Subject: [PATCH] *** empty log message *** --- stepmake/bin/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5