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

ruby-changes:4171

From: ko1@a...
Date: Sat, 1 Mar 2008 17:45:17 +0900 (JST)
Subject: [ruby-changes:4171] nobu - Ruby:r15661 (trunk): * tool/make-snapshot: prefixed r makes $revision always true.

nobu	2008-03-01 17:45:04 +0900 (Sat, 01 Mar 2008)

  New Revision: 15661

  Modified files:
    trunk/tool/make-snapshot

  Log:
    * tool/make-snapshot: prefixed r makes $revision always true.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/tool/make-snapshot?r1=15661&r2=15660&diff_format=u

Index: tool/make-snapshot
===================================================================
--- tool/make-snapshot	(revision 15660)
+++ tool/make-snapshot	(revision 15661)
@@ -16,11 +16,11 @@
 tmp="${TMP_DIR-/tmp}/ruby-snapshot-$$"
 mkdir -p "$tmp"
 (cd "$tmp"
-revision=r`svn export $SVNURL ruby | sed -n '$s/[^0-9]//gp'`
+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
 version=`sed -n -e '/^#define RUBY_VERSION /s/[^0-9.]//gp' ruby/version.h`
-v=ruby-$version-${2-$revision}
+v=ruby-$version-${2-r$revision}
 mv ruby $v
 (cd $v; autoconf; (sed '/lex\.c/,/^$/!d' Makefile.in; sed 's/{[^{}]*}//g' common.mk) | make -f - prereq srcdir=.)
 

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

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