darcs-hash:20050906104346-d1718-ccad902c73bbae4ce46438cf44a7aba1091feab8.gz
This commit is contained in:
bernat 2005-09-06 12:43:46 +02:00
parent 6aa4174b8f
commit 603d58fad3

View file

@ -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)