]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Avoid "warning: stray \ before -" from GNU grep ≥ 3.8.
authorBruno Haible <bruno@clisp.org>
Wed, 9 Oct 2024 21:40:29 +0000 (23:40 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 9 Oct 2024 21:40:29 +0000 (23:40 +0200)
* build-aux/jar-cf: Remove an unnecessary backslash.

build-aux/jar-cf

index f42578c02b1222941fdd58afee4f5760029c6102..bffd52141b2fc742b95aff54509839a5e222c57d 100755 (executable)
@@ -94,7 +94,7 @@ top_srcdir="$2"
 shift
 shift
 
-if $jar_program --help 2>&1 | grep '\-\-date=' >/dev/null; then
+if $jar_program --help 2>&1 | grep '\--date=' >/dev/null; then
   # The JAR_PROGRAM supports the --date option. Its effect is to set the given
   # date as time stamp on all the ELEMENTs and also the META-INF/MANIFEST.MF.
   # Use it, for reproducibility (cf. <https://reproducible-builds.org/>).