Commit 30ea3b7c authored by Michael Liang's avatar Michael Liang

le-proinfodata: delete code commented

Signed-off-by: Michael Liang's avatarMichael Liang <ml09@inf.ufpr.br>
parent 0ccba5bd
......@@ -25,7 +25,6 @@ function verify_inep() {
INEP_USER=$1
INEP_FILE=$2
LINE=$(grep "$INEP_USER" $LE_ZONE | tr -d " ")
#RETURN=$?
if [ $(grep "$INEP_USER" $LE_ZONE | tr -d " ") ];then
ESC_INEP=$(cut -d "|" -f1 <<< $LINE)
ESC_UF=$(cut -d "|" -f2 <<< $LINE)
......@@ -42,7 +41,6 @@ function verify_inep() {
i=$((i+30))
done)| zenity --progress --title="INEP" --text="Verificando INEP digitado..." --percentage=0 --no-cancel --auto-close --width=600 --height=100
#End progress bar
# if [ $RETURN -eq 0 ];then
#Check INEP is valid and correct for user
zenity --list --title="INEP" --text="Essas informações estão corretas?" --cancel-label="Não" --ok-label="Sim" --width=600 --height=200 --column="Inep" --column="Estado" --column="Municipio" --column="Cep" --column="Escola" $ESC_INEP $ESC_UF $ESC_MUNICIPIO $ESC_CEP "$ESC_NAME"
if [ $? -eq 0 ];then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment