diff options
Diffstat (limited to 'tool/release.sh')
-rwxr-xr-x | tool/release.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/release.sh b/tool/release.sh index e43571be36..0cbb6f3aca 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 |