[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-18642a57df02a044b91219d3176128996ddc81a5@git.kernel.org>
Date: Wed, 28 Jul 2010 07:19:00 GMT
From: "tip-bot for H. Peter Anvin" <hpa@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
sfr@...b.auug.org.au, tglx@...utronix.de
Subject: [tip:x86/build] x86, vdso: Don't quote $nm in the script for checking vdso references
Commit-ID: 18642a57df02a044b91219d3176128996ddc81a5
Gitweb: http://git.kernel.org/tip/18642a57df02a044b91219d3176128996ddc81a5
Author: H. Peter Anvin <hpa@...or.com>
AuthorDate: Tue, 27 Jul 2010 23:52:29 -0700
Committer: H. Peter Anvin <hpa@...or.com>
CommitDate: Tue, 27 Jul 2010 23:52:29 -0700
x86, vdso: Don't quote $nm in the script for checking vdso references
Don't quote $nm in the script for checking the vdso for external
references. Doing so breaks multiword constructs, like using
CROSS_COMPILE='ccache '.
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Signed-off-by: H. Peter Anvin <hpa@...or.com>
LKML-Reference: <20100728134252.2e4c27cf.sfr@...b.auug.org.au>
---
arch/x86/vdso/checkundef.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/vdso/checkundef.sh b/arch/x86/vdso/checkundef.sh
index 490be1c..7ee90a9 100755
--- a/arch/x86/vdso/checkundef.sh
+++ b/arch/x86/vdso/checkundef.sh
@@ -1,7 +1,7 @@
#!/bin/sh
nm="$1"
file="$2"
-"$nm" "$file" | grep '^ *U' > /dev/null 2>&1
+$nm "$file" | grep '^ *U' > /dev/null 2>&1
if [ $? -eq 1 ]; then
exit 0
else
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists