maintainer check: quote literal `$' in Makefile rule
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 15 Apr 2011 18:01:58 +0000 (20:01 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 15 Apr 2011 18:09:07 +0000 (20:09 +0200)
* Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
character in double-quoted string.  Fix a bug in which the rule
emitted an erroneously empty substring in its error message.

ChangeLog
Makefile.am
Makefile.in

index 6855f9a..0ef2910 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-04-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       maintainer check: quote literal `$' in Makefile rule
+       * Makefile.am (sc_tests_PATH_SEPARATOR): Escape literal `$'
+       character in double-quoted string.  Fix a bug in which the rule
+       emitted an erroneously empty substring in its error message.
+
 2010-09-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH.
index d19d974..de0bb73 100644 (file)
@@ -413,7 +413,7 @@ sc_tests_plain_egrep_fgrep:
 ## Using `:' as a PATH separator is not portable.
 sc_tests_PATH_SEPARATOR:
        @if grep -E '\bPATH=.*:.*' $(srcdir)/tests/*.test ; then \
-         echo "Use \`$$PATH_SEPARATOR', not \`:', in PATH definitions above." 1>&2; \
+         echo "Use \`\$$PATH_SEPARATOR', not \`:', in PATH definitions above." 1>&2; \
          exit 1; \
        fi
 
index 649565b..c9a5bd9 100644 (file)
@@ -1093,7 +1093,7 @@ sc_tests_plain_egrep_fgrep:
 
 sc_tests_PATH_SEPARATOR:
        @if grep -E '\bPATH=.*:.*' $(srcdir)/tests/*.test ; then \
-         echo "Use \`$$PATH_SEPARATOR', not \`:', in PATH definitions above." 1>&2; \
+         echo "Use \`\$$PATH_SEPARATOR', not \`:', in PATH definitions above." 1>&2; \
          exit 1; \
        fi