script block accept one argument
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user