Commit 298aea03 authored by PENGUEN Julien's avatar PENGUEN Julien
Browse files

suppression message files exist + volume monté version linux

parent d3b5ed30
......@@ -856,9 +856,7 @@ sort_arg_weight=( ${tab_sort_arg_weight// / } )
VOLUME_MOUNT=`function_check_and_replace "${sort_arg_keys[*]}" "${sort_arg_values[*]}" "--mount" $VOLUME_MOUNT`
if [ $VOLUME_MOUNT != "NONE" ];then
if [[ -d $VOLUME_MOUNT ]]; then
echo "=> $VOLUME_MOUNT exist"
else
if [[ ! -d $VOLUME_MOUNT ]]; then
function_message "TYPE_FILE_ERROR" "$VOLUME_MOUNT not found" "--mount"
exit 0
fi
......@@ -869,11 +867,7 @@ fi
INPUT_FILE_SURVEYS=`function_check_and_replace "${sort_arg_keys[*]}" "${sort_arg_values[*]}" "--survey" $INPUT_FILE_SURVEYS`
if [ -f $INPUT_FILE_SURVEYS ]; then
echo "=> $INPUT_FILE_SURVEYS exist"
else
if [ ! -f $INPUT_FILE_SURVEYS ]; then
function_message "TYPE_FILE_ERROR" "$INPUT_FILE_SURVEYS not found" "--survey"
exit 0
fi
......@@ -883,11 +877,7 @@ fi
INPUT_FILE_AREAS=`function_check_and_replace "${sort_arg_keys[*]}" "${sort_arg_values[*]}" "--area" $INPUT_FILE_AREAS`
if [ -f $INPUT_FILE_AREAS ]; then
echo "=> $INPUT_FILE_AREAS exist"
else
if [ ! -f $INPUT_FILE_AREAS ]; then
function_message "TYPE_FILE_ERROR" "$INPUT_FILE_AREAS not found" "--area"
exit 0
fi
......@@ -977,15 +967,6 @@ fi
#---------------------#
for k in ${!sort_arg_weight[*]}
do
echo "sort_arg_keys[$k]=${sort_arg_keys[$k]}"
echo "sort_arg_values[$k]=${sort_arg_values[$k]}"
echo "sort_arg_weight[$k]=${sort_arg_weight[$k]}"
done
#=============================================================#
#=============================================================#
#=============================================================#
......
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