Ver código fonte

script block accept one argument

master
MEUNIER Thibaud 1 ano atrás
pai
commit
4d4720a28c
1 arquivos alterados com 5 adições e 1 exclusões
  1. +5
    -1
      scripts/block.sh

+ 5
- 1
scripts/block.sh Ver arquivo

@ -38,7 +38,11 @@ then
echec
fi
BLOCK=`grep LAST $DATA_PATH/block_list.txt | awk '{print $2}'`
BLOCK=$1
if [ -z "$BLOCK" ]
then
BLOCK=`grep LAST $DATA_PATH/block_list.txt | awk '{print $2}'`
fi
echo $BLOCK
cd $APPS_PATH/info

Carregando…
Cancelar
Salvar