confsubst.in: Allow empty right-hand side in substitutions. 1.3.10.1
authorMark Wooding <mdw@distorted.org.uk>
Wed, 19 Jun 2013 08:44:43 +0000 (09:44 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 19 Jun 2013 08:47:50 +0000 (09:47 +0100)
They do occur naturally, and then you're stuffed.  This is release
1.3.10.1.

confsubst.in
debian/changelog

index 86c8bb0..285e031 100755 (executable)
@@ -75,7 +75,7 @@ file=$1; shift
 subst=""
 for fixup; do
   case "$fixup" in
 subst=""
 for fixup; do
   case "$fixup" in
-    *?=*?) ;;
+    *?=*) ;;
     *) echo >&2 "$0: bad substitution: $fixup"; exit 1 ;;
   esac
   tag=$(echo "$fixup" | sed 's/=.*$//') && \
     *) echo >&2 "$0: bad substitution: $fixup"; exit 1 ;;
   esac
   tag=$(echo "$fixup" | sed 's/=.*$//') && \
index 66f3042..9874897 100644 (file)
@@ -1,3 +1,9 @@
+cfd (1.3.10.1) experimental; urgency=low
+
+  * confsubst: Allow empty right-hand-side.
+
+ -- Mark Wooding <mdw@distorted.org.uk>  Wed, 19 Jun 2013 09:45:13 +0100
+
 cfd (1.3.10) experimental; urgency=low
 
   * Overhaul of Python support.  In particular, handling of generated
 cfd (1.3.10) experimental; urgency=low
 
   * Overhaul of Python support.  In particular, handling of generated