diff mbox

[1/2] compat: fix KLIB_BUILD

Message ID 50250142.4010603@elrepo.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Phil Perry Aug. 10, 2012, 12:40 p.m. UTC
On 10/08/12 00:00, Luis R. Rodriguez wrote:
> On Thu, Aug 9, 2012 at 11:57 AM, Phil Perry<phil@elrepo.org>  wrote:
>> This patch fixes a small typo in ${KLIB_BUILD}
>>
>> Signed-off-by: Philip J Perry<phil@elrepo.org>
>
> I had issues applying this, I blame the
> lf_driver_backport@lists.linux-foundation.org mailing list as we had
> determine a while ago that it had issues. Phil, in the meantime can
> you resend to linux-wireless ?
>
> David,
>
> is there a chance to create a backports@vger.kernel.org mailing list
> for backporting effort?
>
>    Luis
>

Resending to include linux-wireless@vger.kernel.org

This patch fixes a small typo in ${KLIB_BUILD}

Signed-off-by: Philip J Perry <phil@elrepo.org>
---
  scripts/gen-compat-config.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

  	for i in $(seq 0 ${RHEL_MINOR}); do
  		eval CONFIG_COMPAT_${RHEL_MAJOR}_${i}=y
  		echo "export CONFIG_COMPAT_${RHEL_MAJOR}_${i}=y"
diff mbox

Patch

diff --git a/scripts/gen-compat-config.sh b/scripts/gen-compat-config.sh
index 3eba34e..cdb1584 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')