diff --git a/gestion/gen_confs/wifi_ng.py b/gestion/gen_confs/wifi_ng.py index 71e1b0ad..ed1e7a36 100755 --- a/gestion/gen_confs/wifi_ng.py +++ b/gestion/gen_confs/wifi_ng.py @@ -117,7 +117,7 @@ NVRAM_wl0_radio=%(ON)d # On fait du menage os.system("find %s -name CVS -type d -exec rm -rf {} \\; 2> /dev/null" % WORK) - os.system("find %s -name *~ -type f -exec rm -f {} \\;" % WORK) + os.system("find %s -name '*~' -type f -exec rm -f {} \\;" % WORK) # Ensuite, on créé le tar os.system("tar zcf %s/%s.tmp.tar.gz -C %s ." % (TARGET, borne.nom(), WORK)) # Et on le renomme (on espère que c'est atomique)