diff --git a/scripts/config b/scripts/config index 3850cf8..ba0eddf 100644 --- a/scripts/config +++ b/scripts/config @@ -29,7 +29,12 @@ pushd "$install_dir/script" popd get__csv_sep(){ - echo "Utiliser le séparateur" "$(grep -oPi 'define\("CSV_SEP",[\s"]*\K[^\")]+' "$install_dir/config.php")" + separateur="$(grep -oPi 'define\("CSV_SEP",[\s"]*\K[^\")]+' "$install_dir/config.php")" + if [ $separateur = " "]; then + echo "Utiliser un espace" + else + echo "Utiliser le séparateur ""separateur" + fi } set__csv_sep(){