mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/make-snapshot (revision): sed does not support +.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0ee5a49dd4
commit
b2258b6482
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue