Browse Source

"TMP_DIR"

master
Doug Le Tough 5 years ago
parent
commit
083437b10d
  1. 1
      lib/erreur.lib
  2. 1
      lib/params.lib

1
lib/erreur.lib

@ -98,6 +98,7 @@ case "${L_Cmd}" in @@ -98,6 +98,7 @@ case "${L_Cmd}" in
fct_message -debug 0 "<lib:fct_erreur> Nettoyage des fichiers temporaires de la session ${SH_SESSION_ID}"
if [ -n "${NC_EXPL_TMP}" -a -n "${SH_SESSION_ID}" -a "${NC_EXPL_TMP}" != "/" -a "${NC_EXPL_TMP}" != "." ]
then
fct_message "Supression du repertoire temporaire"
rm -f "${NC_EXPL_TMP}/*${SH_SESSION_ID}*"
rm -Rf ${SH_TMP_DIR}
else

1
lib/params.lib

@ -54,6 +54,7 @@ @@ -54,6 +54,7 @@
function fct_mk_tmp_dir
{
fct_message "Creation du repertoire temporaire"
mkdir -p ${NC_EXPL_TMP}/${SH_SESSION_ID}
RET_VAL=$?
if [ ! ${RET_VAL} -eq 0 ]; then

Loading…
Cancel
Save