]> matita.cs.unibo.it Git - helm.git/commitdiff
"matitaclean all" ported to NG
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 19 Jun 2009 15:49:45 +0000 (15:49 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 19 Jun 2009 15:49:45 +0000 (15:49 +0000)
helm/software/matita/matitaclean.ml

index ffc253d69c1c9ab2eb37e1fd775b58bf9e383732..a3183c16110fdeb03e273b3f55caac0baa1f08f9 100644 (file)
@@ -80,7 +80,8 @@ let clean_all () =
       ignore 
        (Sys.command ("find " ^ xmldir ^ 
         " -type d -exec rmdir -p {} \\; 2> /dev/null"))) 
-    prefixes
+    prefixes;
+  ignore (Sys.command ("rm -rf " ^ Helm_registry.get "matita.basedir"))
 ;;
 
 let main () =