mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/make-snapshot: more portable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b2258b6482
commit
7847c1b860
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Dec 25 20:07:13 2007 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* tool/make-snapshot: more portable.
|
||||
|
||||
Tue Dec 25 19:01:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* encoding.h (rb_enc_mbc_to_codepoint): wrapper for
|
||||
|
|
|
@ -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][0-9]*\).*/\1/p'`
|
||||
revision=`svn export $SVNURL ruby | sed -n '$s/[^0-9]//gp'`
|
||||
[ $revision ] || revision=`svn info $SVNURL | sed -n 's/Revision: //p'`
|
||||
echo "#define RUBY_REVISION $revision" > ruby/revision.h
|
||||
v=ruby-r$revision
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue