From 3144653fe541c6db82aa07c3fa8ae48b0bb0d4ab Mon Sep 17 00:00:00 2001 From: Andy Gospodarek Date: Tue, 14 Aug 2012 14:59:45 -0400 Subject: [PATCH] compat: RHEL build script fixup from upstream 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 Signed-off-by: Andy Gospodarek Signed-off-by: Luis R. Rodriguez --- scripts/gen-compat-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen-compat-config.sh b/scripts/gen-compat-config.sh index b70ef03555f5..a3ebf082efc1 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" -- 2.30.2