summaryrefslogtreecommitdiff
path: root/scripts/xldd.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-11-23 20:34:56 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-11-23 20:34:56 (GMT)
commit0b2a713bcc00f26bc4aacef52b5c837c01a34364 (patch)
treee6c0c274a1249aa9e8189c2f9b7d823783a95f59 /scripts/xldd.in
parenta262c1a3dd18fe626e50309a37f154a29d632cf7 (diff)
scripts/xldd: fix version string
The version string was hard-coded. Now, the version string follows the crosstool-NG version. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> (transplanted from e826624966a1672422711f779d98686e03a30b90)
Diffstat (limited to 'scripts/xldd.in')
-rwxr-xr-xscripts/xldd.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/xldd.in b/scripts/xldd.in
index ade2d22..0c88f93 100755
--- a/scripts/xldd.in
+++ b/scripts/xldd.in
@@ -2,6 +2,7 @@
# NON-CONFIGURABLE STUFF!
export LC_ALL=C
+version="@@CT_VERSION@@"
sed="@@CT_sed@@"
grep="@@CT_grep@@"
my_name="$( basename "${0}" )"
@@ -24,7 +25,7 @@ do_opt_error() {
show_version() {
# Fake a real ldd, just in case some dumb script would check
cat <<_EOF_
-ldd (crosstool-NG) 1.8.0
+ldd (crosstool-NG) ${version}
Copyright (C) 2010 "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.