[前][次][番号順一覧][スレッド一覧]

ruby-changes:3200

From: ko1@a...
Date: 25 Dec 2007 20:03:42 +0900
Subject: [ruby-changes:3200] nobu - Ruby:r14693 (trunk): * tool/make-snapshot (revision): sed does not support +.

nobu	2007-12-25 20:03:28 +0900 (Tue, 25 Dec 2007)

  New Revision: 14693

  Modified files:
    trunk/tool/make-snapshot

  Log:
    * tool/make-snapshot (revision): sed does not support +.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/tool/make-snapshot?r1=14693&r2=14692

Index: tool/make-snapshot
===================================================================
--- tool/make-snapshot	(revision 14692)
+++ tool/make-snapshot	(revision 14693)
@@ -12,7 +12,7 @@
 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]