lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1420 - nss-pam-ldapd

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1420 - nss-pam-ldapd



Author: arthur
Date: Thu Mar 31 22:16:44 2011
New Revision: 1420
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1420

Log:
use $(mkinstalldirs) instead of $(INSTALL_DATA) -D because -D is not supported 
on all operating systems (patch by SATOH Fumiyasu)

Modified:
   nss-pam-ldapd/AUTHORS
   nss-pam-ldapd/Makefile.am

Modified: nss-pam-ldapd/AUTHORS
==============================================================================
--- nss-pam-ldapd/AUTHORS       Thu Mar 31 21:16:13 2011        (r1419)
+++ nss-pam-ldapd/AUTHORS       Thu Mar 31 22:16:44 2011        (r1420)
@@ -84,3 +84,4 @@
 Jacques Vidrine <nectar@freebsd.org>
 Artem Kazakov <kazakov@gmail.com>
 Alexander V. Chernikov <melifaro@ipfw.ru>
+SATOH Fumiyasu <fumiyas@osstech.co.jp>

Modified: nss-pam-ldapd/Makefile.am
==============================================================================
--- nss-pam-ldapd/Makefile.am   Thu Mar 31 21:16:13 2011        (r1419)
+++ nss-pam-ldapd/Makefile.am   Thu Mar 31 22:16:44 2011        (r1420)
@@ -82,7 +82,8 @@
        @if [ -f $(DESTDIR)$(NSLCD_CONF_PATH) ]; then \
          echo "$(DESTDIR)$(NSLCD_CONF_PATH) already exists, install will not 
overwrite"; \
        else \
-         $(INSTALL_DATA) -D $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH) 
|| true; \
+         $(mkinstalldirs) `dirname $(DESTDIR)$(NSLCD_CONF_PATH)`; \
+         $(INSTALL_DATA) $(srcdir)/nslcd.conf $(DESTDIR)$(NSLCD_CONF_PATH); \
        fi
 uninstall-nslcd_conf:
        -rm -f $(DESTDIR)$(NSLCD_CONF_PATH)
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits