Explorar el Código

script block accept one argument

master
MEUNIER Thibaud hace 2 años
padre
commit
4d4720a28c
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      scripts/block.sh

+ 5
- 1
scripts/block.sh Ver fichero

@ -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

Cargando…
Cancelar
Guardar