lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1755 - nss-pam-ldapd-0.7

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

nss-pam-ldapd commit: r1755 - nss-pam-ldapd-0.7



Author: arthur
Date: Sat Sep  8 17:53:49 2012
New Revision: 1755
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1755&view=revision

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

Modified:
   nss-pam-ldapd-0.7/   (props changed)
   nss-pam-ldapd-0.7/AUTHORS
   nss-pam-ldapd-0.7/Makefile.am

Modified: nss-pam-ldapd-0.7/AUTHORS
==============================================================================
--- nss-pam-ldapd-0.7/AUTHORS   Sat Sep  8 17:47:57 2012        (r1754)
+++ nss-pam-ldapd-0.7/AUTHORS   Sat Sep  8 17:53:49 2012        (r1755)
@@ -80,3 +80,4 @@
 Nalin Dahyabhai <nalin@redhat.com>
 Daniel Dehennin <daniel.dehennin@baby-gnu.org>
 Jakub Hrozek <jhrozek@redhat.com>
+SATOH Fumiyasu <fumiyas@osstech.co.jp>

Modified: nss-pam-ldapd-0.7/Makefile.am
==============================================================================
--- nss-pam-ldapd-0.7/Makefile.am       Sat Sep  8 17:47:57 2012        (r1754)
+++ nss-pam-ldapd-0.7/Makefile.am       Sat Sep  8 17:53:49 2012        (r1755)
@@ -48,7 +48,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/