ruby-changes:33803
From: usa <ko1@a...>
Date: Fri, 9 May 2014 12:58:19 +0900 (JST)
Subject: [ruby-changes:33803] usa:r45884 (trunk): * tool/release.sh: fix for neon.
usa 2014-05-09 12:58:09 +0900 (Fri, 09 May 2014) New Revision: 45884 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45884 Log: * tool/release.sh: fix for neon. Modified files: trunk/tool/release.sh Index: tool/release.sh =================================================================== --- tool/release.sh (revision 45883) +++ tool/release.sh (revision 45884) @@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/release.sh#L1 #!/bin/sh RUBYDIR=/home/ftp/pub/ruby -EXTS=.tar.gz .tar.bz2 .zip +EXTS='.tar.gz .tar.bz2 .zip' releases=`ls ruby-*|grep -o 'ruby-[0-9]\.[0-9]\.[0-9]\(-\(preview\|rc\|p\)[0-9]\{1,4\}\)\?'|uniq` @@ -23,7 +23,7 @@ done https://github.com/ruby/ruby/blob/trunk/tool/release.sh#L23 for r in $releases do xy=`echo $r|grep -o '[0-9]\.[0-9]'` - preview=`echo $r|grep -o '-\(preview\|rc\)'` + preview=`echo $r|grep -o -- '-\(preview\|rc\)'` dir="${RUBYDIR}/$xy" echo "$dir" mkdir -p $dir -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/