Dial-up Admin patches
Scott Lambert
lambert at lambertfam.org
Fri Oct 12 00:55:38 CEST 2007
Here is a patch for dialup_admin/Makefile because the BSD install
utility, on FreeBSD anyway, does not support the -t option for
specifying the source files after the target directory of the GNU
install utility.
I am using the -I option of xargs instead.
BSD and GNU xargs don't seem to have many options in common. I don't
actually have a GNU box to test this on, but the online man pages seem
to indicate that this should work.
Tested only on FreeBSD 6.2.
--
Scott Lambert KC5MLE Unix SysAdmin
lambert at lambertfam.org
-------------- next part --------------
Index: dialup_admin/Makefile
===================================================================
RCS file: /source/radiusd/dialup_admin/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- dialup_admin/Makefile 19 Aug 2007 22:32:59 -0000 1.2
+++ dialup_admin/Makefile 11 Oct 2007 22:26:45 -0000
@@ -18,9 +18,9 @@
install -d -m 0755 $(R)/$(DIALUP_CONFDIR)
install -d -m 0755 $(R)/$(DIALUP_PREFIX)/bin
find doc Changelog README -name CVS -prune -o -type f -print0 | \
- xargs -0 install -m 0644 -t $(R)/$(DIALUP_DOCDIR)
+ xargs -0 -I % install -m 0644 % $(R)/$(DIALUP_DOCDIR)
find conf -name CVS -prune -o -type f -print0 | \
- xargs -0 install -m 0644 -t $(R)/$(DIALUP_CONFDIR)
+ xargs -0 -I % install -m 0644 % $(R)/$(DIALUP_CONFDIR)
find htdocs html lib sql -name CVS -prune -o -print | \
while read file; do \
if [ -d "$$file" ]; then \
More information about the Freeradius-Devel
mailing list