summaryrefslogtreecommitdiff
path: root/shells/zsh3/patches/patch-aa
blob: 60c969dd2cd0222a1e569b945e9e840f1dc6cc03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.1.1.1 2001/06/05 16:30:14 jtb Exp $

--- Src/Makefile.in.orig	Thu Jan  6 15:39:29 2000
+++ Src/Makefile.in	Thu Jan  6 15:40:03 2000
@@ -148,7 +148,7 @@
 # install binary, creating install directory if necessary
 install.bin: zsh
 	$(top_srcdir)/mkinstalldirs $(bindir)
-	-if [ -f $(bindir)/zsh ]; then mv $(bindir)/zsh $(bindir)/zsh.old; fi
+	-if [ -f $(bindir)/zsh ]; then mv -f $(bindir)/zsh $(bindir)/zsh.old; fi
 	$(INSTALL_PROGRAM) zsh $(bindir)/zsh
 	-if [ -f $(bindir)/zsh-$(VERSION) ]; then rm -f $(bindir)/zsh-$(VERSION); fi
 	ln $(bindir)/zsh $(bindir)/zsh-$(VERSION)