* common/create-version.sh (date): Use "$", not "$$" in sed
authorTom Tromey <tromey@redhat.com>
Tue, 25 Jun 2013 16:04:54 +0000 (16:04 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 25 Jun 2013 16:04:54 +0000 (16:04 +0000)
expression.

gdb/ChangeLog
gdb/common/create-version.sh

index 18c1bc72a472ec01d283db21825a48106719e77a..2fe8d3a6bf3ac6180aa6d678dc5f341d524f91df 100644 (file)
@@ -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.
index 56871bfc2a13bb585592ccb4f935ccf091e5a036..2bf1a9bbef79109edbca2e88d1a691364c12a69a 100755 (executable)
@@ -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