diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-07-28 02:52:29 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-07-28 02:52:29 -0400 |
commit | 18642a57df02a044b91219d3176128996ddc81a5 (patch) | |
tree | 852edb6af41cd8a4442373b224e77e749fdd9247 /arch/x86/vdso/checkundef.sh | |
parent | 05d0b0889ca9d033a960542af7f8a13b3ad4f630 (diff) |
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@canb.auug.org.au>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <20100728134252.2e4c27cf.sfr@canb.auug.org.au>
Diffstat (limited to 'arch/x86/vdso/checkundef.sh')
-rwxr-xr-x | 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 490be1c38f94..7ee90a9b549d 100755 --- a/arch/x86/vdso/checkundef.sh +++ b/arch/x86/vdso/checkundef.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | nm="$1" | 2 | nm="$1" |
3 | file="$2" | 3 | file="$2" |
4 | "$nm" "$file" | grep '^ *U' > /dev/null 2>&1 | 4 | $nm "$file" | grep '^ *U' > /dev/null 2>&1 |
5 | if [ $? -eq 1 ]; then | 5 | if [ $? -eq 1 ]; then |
6 | exit 0 | 6 | exit 0 |
7 | else | 7 | else |