Commit 6349d7d9 authored by PENGUEN Julien's avatar PENGUEN Julien
Browse files

suppression message files exist +volume monté version macos

parent 298aea03
......@@ -870,10 +870,8 @@ 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 [ $VOLUME_MOUNT != "NONE" ];then
if [[ ! -d $VOLUME_MOUNT ]]; then
function_message "TYPE_FILE_ERROR" "$VOLUME_MOUNT not found" "--mount"
exit 0
fi
......@@ -884,11 +882,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
......@@ -898,11 +892,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
......
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