From: Tobias Brunner Date: Thu, 13 Feb 2014 12:50:12 +0000 (+0100) Subject: conf: Fix installation on FreeBSD X-Git-Tag: 5.1.2rc1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5645ad2976cc6d6cee025162ecd457574d748def;p=thirdparty%2Fstrongswan.git conf: Fix installation on FreeBSD Apparently, the -t option for install is not portable. --- diff --git a/conf/Makefile.am b/conf/Makefile.am index 8ce377daf4..f0212c1329 100644 --- a/conf/Makefile.am +++ b/conf/Makefile.am @@ -157,10 +157,10 @@ install-data-local: $(plugins_install_src) test -e "$(DESTDIR)$(strongswanconfdir)/strongswan.conf" || $(INSTALL) -m 644 $(srcdir)/strongswan.conf $(DESTDIR)$(strongswanconfdir)/strongswan.conf || true for f in $(options_install_src); do \ name=`basename $$f`; \ - test -f "$(DESTDIR)$(strongswanddir)/$$name" || $(INSTALL) -m 644 -t "$(DESTDIR)$(strongswanddir)" $(srcdir)/$$f || true; \ + test -f "$(DESTDIR)$(strongswanddir)/$$name" || $(INSTALL) -m 644 "$(srcdir)/$$f" "$(DESTDIR)$(strongswanddir)/$$name" || true; \ done for f in $(plugins_install_src); do \ name=`basename $$f`; \ if test -f "$$f"; then dir=; else dir="$(srcdir)/"; fi; \ - test -f "$(DESTDIR)$(charonconfdir)/$$name" || $(INSTALL) -m 644 -t "$(DESTDIR)$(charonconfdir)" "$$dir$$f" || true; \ + test -f "$(DESTDIR)$(charonconfdir)/$$name" || $(INSTALL) -m 644 "$$dir$$f" "$(DESTDIR)$(charonconfdir)/$$name" || true; \ done