kbuild: fix ld-version.sh to not be affected by locale
[linux-2.6-microblaze.git] / scripts / ld-version.sh
index 30debf7..1bf3aad 100755 (executable)
@@ -29,7 +29,7 @@ orig_args="$@"
 # Get the first line of the --version output.
 IFS='
 '
-set -- $("$@" --version)
+set -- $(LC_ALL=C "$@" --version)
 
 # Split the line on spaces.
 IFS=' '