diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 11:03:28 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-25 11:03:28 +0000 |
| commit | aaccfec99cca9f335de0940f896ba9ec46913ba8 (patch) | |
| tree | 49d7dc78c73e3cc8a1c3a98981d6defc948428a0 /tool/make-snapshot | |
| parent | 50ba92f23642557fd50550302dd565696ab30e6e (diff) | |
| download | ruby-aaccfec99cca9f335de0940f896ba9ec46913ba8.tar.gz ruby-aaccfec99cca9f335de0940f896ba9ec46913ba8.tar.xz ruby-aaccfec99cca9f335de0940f896ba9ec46913ba8.zip | |
* tool/make-snapshot (revision): sed does not support +.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/make-snapshot')
| -rwxr-xr-x | tool/make-snapshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 9b7d3d398..f0f377c9c 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -12,7 +12,7 @@ dest=`cd "$1"; pwd` tmp=${TMP_DIR-/tmp}/ #ruby-snapshot-$$ mkdir -p "$tmp" cd "$tmp" -revision=`svn export $SVNURL ruby | sed -n '$s/.*\([0-9]+\).*/\1/p'` +revision=`svn export $SVNURL ruby | sed -n '$s/.*\([0-9][0-9]*\).*/\1/p'` [ $revision ] || revision=`svn info $SVNURL | sed -n 's/Revision: //p'` echo "#define RUBY_REVISION $revision" > ruby/revision.h v=ruby-r$revision |
