File rc-1.7.2-install-history.patch of Package rc

diff -Ndur rc-1.7.2/Makefile.am rc-1.7.2-install-history/Makefile.am
--- rc-1.7.2/Makefile.am	2014-06-29 23:19:58.000000000 +0300
+++ rc-1.7.2-install-history/Makefile.am	2015-11-30 13:30:32.976703750 +0200
@@ -66,8 +66,8 @@
 
 install-exec-hook:
 if AMC_HISTORY
-	$(INSTALL_PROGRAM) history $(bindir)/- ;\
-	rm -f $(bindir)/--;  $(LN) $(bindir)/- $(bindir)/-- ;\
-	rm -f $(bindir)/-p;  $(LN) $(bindir)/- $(bindir)/-p ;\
-	rm -f $(bindir)/--p; $(LN) $(bindir)/- $(bindir)/--p
+	$(INSTALL_PROGRAM) history $(DESTDIR)$(bindir)/-
+	rm -f $(DESTDIR)$(bindir)/--;  $(LN) -s - $(DESTDIR)$(bindir)/--
+	rm -f $(DESTDIR)$(bindir)/-p;  $(LN) -s - $(DESTDIR)$(bindir)/-p
+	rm -f $(DESTDIR)$(bindir)/--p; $(LN) -s - $(DESTDIR)$(bindir)/--p
 endif
openSUSE Build Service is sponsored by