[Pkg-openldap-devel] [openldap] 21/29: Quote failure message

Timo Aaltonen tjaalton-guest at alioth.debian.org
Thu Oct 10 05:34:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

tjaalton-guest pushed a commit to annotated tag 2.2.23-0.pre1
in repository openldap.

commit 525423cf8f349dd5103f75a80b99d5f1fbeeedc7
Author: Torsten Landschoff <torsten at debian.org>
Date:   Wed Feb 23 10:12:57 2005 +0000

    Quote failure message
---
 debian/changelog  |    4 ++++
 debian/slapd.init |    2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 170422e..89902f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,10 @@ openldap2.2 (2.2.23-0.pre1) experimental; urgency=low
   * configure.in: Fix AC_LIBOBJ for configure2.50.
   * Run libtoolize, aclocal-1.4 and autoconf2.50 to get a working
     configure script.
+  * debian/slapd.init: Output failure reasons using "$failure" so that
+    no glob substitution is done. Had a hard time grokking why slapd 
+    would mention the contents of the current directory in its error 
+    message...
 
  -- Torsten Landschoff <torsten at debian.org>  Wed, 23 Feb 2005 10:51:20 +0100
 
diff --git a/debian/slapd.init b/debian/slapd.init
index de21345..e6e4d99 100644
--- a/debian/slapd.init
+++ b/debian/slapd.init
@@ -69,7 +69,7 @@ fi
 report_failure() {
 	if [ -n "$reason" ]; then
 		echo " - failed: "
-		echo $reason
+		echo "$reason"
 	else
 		echo " - failed."
 		cat <<EOF

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list