From: Stefano Lattarini Date: Fri, 14 Dec 2012 16:55:09 +0000 (+0100) Subject: cosmetics: whitespace fixlets in syntax-checks.mk X-Git-Tag: v1.12.6~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=93adb7b2c632120646af7863ba07750274127153;p=platform%2Fupstream%2Fautomake.git cosmetics: whitespace fixlets in syntax-checks.mk Signed-off-by: Stefano Lattarini --- diff --git a/syntax-checks.mk b/syntax-checks.mk index 9a8a7e7..b2f600f 100644 --- a/syntax-checks.mk +++ b/syntax-checks.mk @@ -104,7 +104,7 @@ sc_diff_automake sc_diff_aclocal: sc_diff_% : sc_no_brace_variable_expansions: @if grep -v '^ *#' $(ams) | grep -F '$${' | grep -F -v '$$$$'; then \ echo "Found too many uses of '\$${' in the lines above." 1>&2; \ - exit 1; \ + exit 1; \ else :; fi ## Make sure 'rm' is called with '-f'. @@ -114,7 +114,7 @@ sc_rm_minus_f: | grep -E '\)'; \ then \ echo "Suspicious 'rm' invocation." 1>&2; \ - exit 1; \ + exit 1; \ else :; fi ## Never use something like "for file in $(FILES)", this doesn't work @@ -355,16 +355,16 @@ sc_tests_overriding_macros_on_cmdline: # code paths. @tests=`for t in $(xtests); do \ case $$t in */make-dryrun.sh);; *) echo $$t;; esac; \ - done`; \ + done`; \ if sed -e 's/ || .*//' -e 's/ && .*//' \ -e 's/ DESTDIR=[^ ]*/ /' -e 's/ SHELL=[^ ]*/ /' \ -e 's/ V=[^ ]*/ /' -e 's/ DISABLE_HARD_ERRORS=[^ ]*/ /' \ -e "s/ DISTCHECK_CONFIGURE_FLAGS='[^']*'/ /" \ - -e 's/ DISTCHECK_CONFIGURE_FLAGS="[^"]*"/ /' \ - -e 's/ DISTCHECK_CONFIGURE_FLAGS=[^ ]/ /' \ + -e 's/ DISTCHECK_CONFIGURE_FLAGS="[^"]*"/ /' \ + -e 's/ DISTCHECK_CONFIGURE_FLAGS=[^ ]/ /' \ -e "s/ exp='[^']*'/ /" \ - -e 's/ exp="[^"]*"/ /' \ - -e 's/ exp=[^ ]/ /' \ + -e 's/ exp="[^"]*"/ /' \ + -e 's/ exp=[^ ]/ /' \ $$tests | grep '\$$MAKE .*='; then \ echo 'Rewrite "$$MAKE foo=bar" as "foo=bar $$MAKE -e" in the above lines,' 1>&2; \ echo 'it is more portable.' 1>&2; \