From: Stefano Lattarini Date: Sat, 21 Jul 2012 17:50:54 +0000 (+0200) Subject: [ng] maintcheck: fix a spurious failure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b326614ed4383f77146204065fdc1ba74bea2a5d;p=thirdparty%2Fautomake.git [ng] maintcheck: fix a spurious failure * t/clean-many2.sh: Add redundant quoting to 'rm', to avoid triggering a failure in the 'sc_rm_minus_f' maintainer check. Signed-off-by: Stefano Lattarini --- diff --git a/t/clean-many2.sh b/t/clean-many2.sh index 61284ed4a..aab826355 100755 --- a/t/clean-many2.sh +++ b/t/clean-many2.sh @@ -26,7 +26,8 @@ echo AC_OUTPUT >> configure.ac oPATH=$PATH; export oPATH mkdir bin -cat > bin/rm <<'END' +# Redundant quoting of 'rm' (here and below) to please maintainer-check. +cat > bin/'rm' <<'END' #!/bin/sh PATH=$oPATH; export PATH if test $# -eq 0; then @@ -36,7 +37,7 @@ elif test $# -gt 50; then echo "rm: argument list too long ($# arguments)" >&2 exit 1 fi -exec rm "$@" +exec 'rm' "$@" END chmod a+x bin/rm PATH=$(pwd)/bin$PATH_SEPARATOR$PATH; export PATH