diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/common/create-version.sh | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18c1bc7..2fe8d3a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-06-25 Tom Tromey <tromey@redhat.com> + + * common/create-version.sh (date): Use "$", not "$$" in sed + expression. + 2013-06-25 Kevin Buettner <kevinb@redhat.com> * NEWS (New targets): Add entry for TI MSP430. 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 |