Browse code

"TMP_DIR: Ok"

Doug Le Tough authored on 19/02/2018 09:01:34
Showing 2 changed files
... ...
@@ -98,7 +98,6 @@ case "${L_Cmd}" in
98 98
             fct_message -debug 0 "<lib:fct_erreur> Nettoyage des fichiers temporaires de la session ${SH_SESSION_ID}"
99 99
             if [ -n "${NC_EXPL_TMP}" -a -n "${SH_SESSION_ID}" -a "${NC_EXPL_TMP}" != "/" -a "${NC_EXPL_TMP}" != "." ]
100 100
             then
101
-                fct_message "Supression du repertoire temporaire"
102 101
                 rm -f "${NC_EXPL_TMP}/*${SH_SESSION_ID}*"
103 102
                 rm -Rf ${SH_TMP_DIR}
104 103
             else
... ...
@@ -54,14 +54,12 @@
54 54
 
55 55
 function fct_mk_tmp_dir
56 56
 {
57
-  fct_message "Creation du repertoire temporaire ${SH_TMP_DIR}"
58 57
   mkdir -p ${SH_TMP_DIR}
59 58
   RET_VAL=$?
60 59
   if [ ! ${RET_VAL} -eq 0 ]; then
61 60
     fct_message "Erreur lors de la creation du repertoire temporaire" -color rouge 
62 61
     fct_erreur 254
63 62
   fi
64
-  ls ${SH_TMP_DIR}
65 63
 }
66 64
 
67 65
 function fct_params