From 18b8efff0a3d606b1a6eeeb344a45a8692144458 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 21 Dec 2005 01:14:45 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 2 ++ stepmake/bin/install.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index d238316929..14071c7ce3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ 2005-12-21 Jan Nieuwenhuizen + * stepmake/bin/install.py: Remove file before copying. + * config.make.in: * stepmake/aclocal.m4: Do not substitute INSTALL. diff --git a/stepmake/bin/install.py b/stepmake/bin/install.py index d5799a48c4..6c6f876b3d 100644 --- a/stepmake/bin/install.py +++ b/stepmake/bin/install.py @@ -71,6 +71,8 @@ for f in args: chown_me.append (f) else: if copy: + if os.path.exists (dest): + os.remove (dest) shutil.copy2 (f, dest) else: shutil.move (f, dest) -- 2.39.2