From: H. Peter Anvin Date: Wed, 28 Jul 2010 06:52:29 +0000 (-0700) Subject: x86, vdso: Don't quote $nm in the script for checking vdso references X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=18642a57df02a044b91219d3176128996ddc81a5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: H. Peter Anvin LKML-Reference: <20100728134252.2e4c27cf.sfr@canb.auug.org.au> --- diff --git a/arch/x86/vdso/checkundef.sh b/arch/x86/vdso/checkundef.sh index 490be1c38f94..7ee90a9b549d 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