From b2258b6482dda5d30d85d49900cc7612f6ca2f73 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 25 Dec 2007 11:03:28 +0000 Subject: [PATCH] * 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 --- tool/make-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/make-snapshot b/tool/make-snapshot index 9b7d3d3989..f0f377c9ca 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