confsubst.in: Allow empty right-hand side in substitutions.
[cfd] / confsubst.in
index 86c8bb0..285e031 100755 (executable)
@@ -75,7 +75,7 @@ file=$1; shift
 subst=""
 for fixup; do
   case "$fixup" in
-    *?=*?) ;;
+    *?=*) ;;
     *) echo >&2 "$0: bad substitution: $fixup"; exit 1 ;;
   esac
   tag=$(echo "$fixup" | sed 's/=.*$//') && \