kbuild: change filechk to surround the given command with { }
[linux-2.6-block.git] / scripts / Kbuild.include
index 46bf1a073f5dd44acb1c227fb55c86928ee21f43..74a3fe7ddc01822edf000f2b7cf2c48d112c667e 100644 (file)
@@ -56,7 +56,7 @@ kecho := $($(quiet)kecho)
 define filechk
        $(Q)set -e;                             \
        mkdir -p $(dir $@);                     \
-       $(filechk_$(1)) > $@.tmp;               \
+       { $(filechk_$(1)); } > $@.tmp;          \
        if [ -r $@ ] && cmp -s $@ $@.tmp; then  \
                rm -f $@.tmp;                   \
        else                                    \