There are parentheses where there should be curly braces. This is a patch that Phillip Perry posted to the list, but it was never integrated. Signed-off-by: Philip J Perry <phil@xxxxxxxxxx> Signed-off-by: Andy Gospodarek <andy@xxxxxxxxxxxxx> --- scripts/gen-compat-config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/gen-compat-config.sh b/scripts/gen-compat-config.sh index b70ef03..a3ebf08 100755 --- a/scripts/gen-compat-config.sh +++ b/scripts/gen-compat-config.sh @@ -48,7 +48,7 @@ done # The RHEL checks seem to annotate the existance of RHEL minor versions. RHEL_MAJOR=$(grep ^RHEL_MAJOR ${KLIB_BUILD}/Makefile | sed -n 's/.*= *\(.*\)/\1/p') if [[ ! -z ${RHEL_MAJOR} ]]; then - RHEL_MINOR=$(grep ^RHEL_MINOR $(KLIB_BUILD)/Makefile | sed -n 's/.*= *\(.*\)/\1/p') + RHEL_MINOR=$(grep ^RHEL_MINOR ${KLIB_BUILD}/Makefile | sed -n 's/.*= *\(.*\)/\1/p') for i in $(seq 0 ${RHEL_MINOR}); do eval CONFIG_COMPAT_${RHEL_MAJOR}_${i}=y echo "export CONFIG_COMPAT_${RHEL_MAJOR}_${i}=y" -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html