openbsd-ports/shells/zsh/patches/patch-aa
1999-08-04 03:57:39 +00:00

12 lines
541 B
Plaintext

--- Src/Makefile.in.orig Tue Aug 3 22:54:59 1999
+++ Src/Makefile.in Tue Aug 3 22:55:37 1999
@@ -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)