nss-pam-ldapd commit: r1530 - nss-pam-ldapd/debian
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1530 - nss-pam-ldapd/debian
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1530 - nss-pam-ldapd/debian
- Date: Tue, 30 Aug 2011 20:58:12 +0200 (CEST)
Author: arthur
Date: Tue Aug 30 20:58:11 2011
New Revision: 1530
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1530
Log:
correctly handle leading and trailing spaces in preseeded uri option (patch by
Andreas B. Mundt)
Modified:
nss-pam-ldapd/debian/nslcd.postinst
Modified: nss-pam-ldapd/debian/nslcd.postinst
==============================================================================
--- nss-pam-ldapd/debian/nslcd.postinst Tue Aug 30 20:47:39 2011 (r1529)
+++ nss-pam-ldapd/debian/nslcd.postinst Tue Aug 30 20:58:11 2011 (r1530)
@@ -69,7 +69,7 @@
# escape all uri directives
sed -i 's/^uri /_uri_ /i' $CONFFILE
# set the uri options
- echo "$uris" | sed 's/ */\n/g' | while read uri
+ echo "$uris" | sed 's/^[ \t]*//;s/[ \t]*$//;s/ */\n/g' | while read uri
do
if grep -qi '^_uri_ ' $CONFFILE
then
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1530 - nss-pam-ldapd/debian,
Commits of the nss-pam-ldapd project