From 68856755c4f18affb513d93ec94fa9307c31473a Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 13 Sep 2011 07:47:11 -0400 Subject: buildsys: remove existing symlinks before installing This fixes build errors when performing a manual install straight to a filesystem where the files already exist. Reported-by: Sergej Pupykin Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- scripts/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 52a784ab..d89fd306 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -106,10 +106,12 @@ repo-elephant: $(srcdir)/repo-add.sh.in install-data-hook: cd $(DESTDIR)$(bindir) && \ + $(RM) repo-elephant && \ ( $(LN_S) repo-add repo-elephant || \ ln repo-add repo-elephant || \ cp repo-add repo-elephant ) cd $(DESTDIR)$(bindir) && \ + $(RM) repo-remove && \ ( $(LN_S) repo-add repo-remove || \ ln repo-add repo-remove || \ cp repo-add repo-remove ) -- cgit v1.2.3