From 57f0f512b273f60d52568b8c6b77e17f5636edc0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 5 Aug 2015 17:04:01 -0300 Subject: Initial import --- scripts/ld-version.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/ld-version.sh (limited to 'scripts/ld-version.sh') diff --git a/scripts/ld-version.sh b/scripts/ld-version.sh new file mode 100755 index 000000000..198580d24 --- /dev/null +++ b/scripts/ld-version.sh @@ -0,0 +1,8 @@ +#!/usr/bin/awk -f +# extract linker version number from stdin and turn into single number + { + gsub(".*)", ""); + split($1,a, "."); + print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5]; + exit + } -- cgit v1.2.3-54-g00ecf