]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
x86, vdso: Don't quote $nm in the script for checking vdso references
authorH. Peter Anvin <hpa@zytor.com>
Wed, 28 Jul 2010 06:52:29 +0000 (23:52 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 28 Jul 2010 06:52:29 +0000 (23:52 -0700)
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@canb.auug.org.au>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <20100728134252.2e4c27cf.sfr@canb.auug.org.au>

arch/x86/vdso/checkundef.sh

index 490be1c38f94c33cd6d3803da791906fb2ab4125..7ee90a9b549da32c9c12d694215b89d08645574c 100755 (executable)
@@ -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