From: Bruno Haible Date: Wed, 9 Oct 2024 21:40:29 +0000 (+0200) Subject: build: Avoid "warning: stray \ before -" from GNU grep ≥ 3.8. X-Git-Tag: v0.23~75 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=929fecabecae4cb7c9911ab4603e47bf43041d91;p=thirdparty%2Fgettext.git build: Avoid "warning: stray \ before -" from GNU grep ≥ 3.8. * build-aux/jar-cf: Remove an unnecessary backslash. --- diff --git a/build-aux/jar-cf b/build-aux/jar-cf index f42578c02..bffd52141 100755 --- a/build-aux/jar-cf +++ b/build-aux/jar-cf @@ -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. ).