aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-06-25 16:04:54 +0000
committerTom Tromey <tromey@redhat.com>2013-06-25 16:04:54 +0000
commit6e2048d3e3a50472e73d74d97ae031741464b756 (patch)
treecd748f9b10f5f225f3abc4466a7d739e425c2342 /gdb/common
parent42059f0ed00eaeab75dd1738b3c5a05488f6f6ac (diff)
downloadgdb-6e2048d3e3a50472e73d74d97ae031741464b756.zip
gdb-6e2048d3e3a50472e73d74d97ae031741464b756.tar.gz
gdb-6e2048d3e3a50472e73d74d97ae031741464b756.tar.bz2
* common/create-version.sh (date): Use "$", not "$$" in sed
expression.
Diffstat (limited to 'gdb/common')
-rwxr-xr-xgdb/common/create-version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/create-version.sh b/gdb/common/create-version.sh
index 56871bf..2bf1a9b 100755
--- a/gdb/common/create-version.sh
+++ b/gdb/common/create-version.sh
@@ -28,7 +28,7 @@ target_alias="$3"
output="$4"
rm -f version.c-tmp $output version.tmp
-date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$$/\1/p' $srcdir/../bfd/version.h`
+date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$/\1/p' $srcdir/../bfd/version.h`
sed -e "s/DATE/$date/" < $srcdir/common/version.in > version.tmp
echo '#include "version.h"' >> version.c-tmp
echo 'const char version[] = "'"`sed q version.tmp`"'";' >> version.c-tmp