diff options
-rwxr-xr-x | src-release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-release.sh b/src-release.sh index 40d0126..64fa4c2 100755 --- a/src-release.sh +++ b/src-release.sh @@ -60,7 +60,7 @@ getver() bfd/configure --version | sed -n -e '1s,.* ,,p' elif test -f $tool/common/create-version.sh; then $tool/common/create-version.sh $tool 'dummy-host' 'dummy-target' VER.tmp - cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-cvs$//' + cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-git$//' rm -f VER.tmp elif test -f $tool/version.in; then head -1 $tool/version.in |