From 6e2048d3e3a50472e73d74d97ae031741464b756 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 25 Jun 2013 16:04:54 +0000 Subject: [PATCH] * common/create-version.sh (date): Use "$", not "$$" in sed expression. --- gdb/ChangeLog | 5 +++++ gdb/common/create-version.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18c1bc72a47..2fe8d3a6bf3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-06-25 Tom Tromey + + * common/create-version.sh (date): Use "$", not "$$" in sed + expression. + 2013-06-25 Kevin Buettner * NEWS (New targets): Add entry for TI MSP430. diff --git a/gdb/common/create-version.sh b/gdb/common/create-version.sh index 56871bfc2a1..2bf1a9bbef7 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 -- 2.30.2