summaryrefslogtreecommitdiff
path: root/tool/release.sh
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-09 03:58:09 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-09 03:58:09 +0000
commit48a9d17105932636d603514c8e07a8f36050ad01 (patch)
tree5ec1eefc916eb17c8470b42e907072efe4a743f7 /tool/release.sh
parent2ff10784e48e4784ed1b03244e556092a54ead11 (diff)
* tool/release.sh: fix for neon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/release.sh')
-rwxr-xr-xtool/release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/release.sh b/tool/release.sh
index e43571b..0cbb6f3 100755
--- a/tool/release.sh
+++ b/tool/release.sh
@@ -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