diff options
author | Tom Tromey <tromey@redhat.com> | 2013-06-25 16:04:54 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-06-25 16:04:54 +0000 |
commit | 6e2048d3e3a50472e73d74d97ae031741464b756 (patch) | |
tree | cd748f9b10f5f225f3abc4466a7d739e425c2342 /gdb/common | |
parent | 42059f0ed00eaeab75dd1738b3c5a05488f6f6ac (diff) | |
download | gdb-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-x | gdb/common/create-version.sh | 2 |
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 |