fix rubygems.sh

This commit is contained in:
bigeagle 2016-12-14 21:04:01 +08:00
parent b283257653
commit cfe4e2202e

View File

@ -27,9 +27,9 @@ EOF
if [[ $INIT == "0" ]]; then if [[ $INIT == "0" ]]; then
if [[ $BUSYBOX == "0" ]]; then if [[ $BUSYBOX == "0" ]]; then
timeout -t 7200 -s INT $GEM mirror -V
else
timeout -s INT 7200 $GEM mirror -V timeout -s INT 7200 $GEM mirror -V
else
timeout -t 7200 -s INT $GEM mirror -V
fi fi
else else
$GEM mirror -V $GEM mirror -V