* tool/release.sh: fix for neon.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2014-05-09 03:58:09 +00:00
parent 2ff10784e4
commit 48a9d17105

View File

@ -1,7 +1,7 @@
#!/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
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