summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/ld-version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/scripts/ld-version.sh')
-rwxr-xr-xkernel/scripts/ld-version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/scripts/ld-version.sh b/kernel/scripts/ld-version.sh
index 198580d24..1659b409e 100755
--- a/kernel/scripts/ld-version.sh
+++ b/kernel/scripts/ld-version.sh
@@ -1,7 +1,7 @@
#!/usr/bin/awk -f
# extract linker version number from stdin and turn into single number
{
- gsub(".*)", "");
+ gsub(".*\\)", "");
split($1,a, ".");
print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5];
exit