Update all_test.sh

pull/118/head
midoks 3 years ago
parent 5bc3ee2b7c
commit c9a068241b
  1. 6
      plugins/php/all_test.sh

@ -20,19 +20,19 @@ done
echo "php${PHP_VER} -- end" echo "php${PHP_VER} -- end"
PHP_VER_LIST=(54 55 56 71 72 73 74 80 81) PHP_VER_LIST=(54 55 56 71 72 73 74 80 81)
# PHP_VER_LIST=(81) # PHP_VER_LIST=(81)
for PHP_VER in ${PHP_VER_LIST[@]}; do for PHP_VER in ${PHP_VER_LIST[@]}; do
echo "php${PHP_VER} -- start" echo "php${PHP_VER} -- start"
if [ -d /www/server/php/${PHP_VER} ];then if [ -d /www/server/php/${PHP_VER} ];then
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}') cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
for ii in cmd_ext for ii in $cmd_ext
do do
echo "${ii}"
if [ "install.sh" == "$ii" ];then if [ "install.sh" == "$ii" ];then
echo '' > /tmp/t.log echo '' > /tmp/t.log
else else
cd $DIR/versions/$PHP_VER && bash $ii install ${PHP_VER} cd $DIR/versions/$PHP_VER/ && bash $ii install ${PHP_VER}
fi fi
done done
fi fi

Loading…
Cancel
Save