"TMP_DIR"

This commit is contained in:
Doug Le Tough 2018-02-19 09:59:45 +01:00
parent 083437b10d
commit 697589fe39

View File

@ -54,13 +54,14 @@
function fct_mk_tmp_dir function fct_mk_tmp_dir
{ {
fct_message "Creation du repertoire temporaire" fct_message "Creation du repertoire temporaire ${SH_TMP_DIR}"
mkdir -p ${NC_EXPL_TMP}/${SH_SESSION_ID} mkdir -p ${SH_TMP_DIR}
RET_VAL=$? RET_VAL=$?
if [ ! ${RET_VAL} -eq 0 ]; then if [ ! ${RET_VAL} -eq 0 ]; then
fct_message "Erreur lors de la creation du repertoire temporaire" -color rouge fct_message "Erreur lors de la creation du repertoire temporaire" -color rouge
fct_erreur 254 fct_erreur 254
fi fi
ls ${SH_TMP_DIR}
} }
function fct_params function fct_params