Commit 83424471 authored by Marc-Antoine Drouin's avatar Marc-Antoine Drouin
Browse files

correct bug

parent aecb9f54
...@@ -215,6 +215,7 @@ fi ...@@ -215,6 +215,7 @@ fi
if [[ $UNZIP == 0 ]]; then if [[ $UNZIP == 0 ]]; then
input_files=("${fich_entree[@]}") input_files=("${fich_entree[@]}")
elif [[ $UNZIP == 1 ]]; then elif [[ $UNZIP == 1 ]]; then
consignerMsg "Désarchivage de l'archive"
# create tmp directory for data # create tmp directory for data
tmp_data=$(mktemp -d -p "$REP_TRAVAIL") tmp_data=$(mktemp -d -p "$REP_TRAVAIL")
...@@ -233,8 +234,10 @@ fi ...@@ -233,8 +234,10 @@ fi
tmp_check=$(mktemp -d -p "$REP_TRAVAIL") tmp_check=$(mktemp -d -p "$REP_TRAVAIL")
for file_ in "${input_files[@]}"; do for file_ in "${input_files[@]}"; do
consignerMsg "Vérification des données brutes"
cl31_cor="$tmp_check/${file_%.*}.cor" tmp_file_=$(basename "$file_")
cl31_cor="$tmp_check/${tmp_file_%.*}.cor"
if [[ $fich_type == "SIRTA" ]]; then if [[ $fich_type == "SIRTA" ]]; 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