]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/matitaclean.ml
changed auto_tac params type and all derivate tactics like applyS and
[helm.git] / helm / software / matita / matitaclean.ml
index d9f603652e334cd63e266cc56f7beba1a26f015c..ffc253d69c1c9ab2eb37e1fd775b58bf9e383732 100644 (file)
@@ -111,12 +111,10 @@ let main () =
            UM.buri_of_uri (UM.uri_of_string suri)
          with UM.IllFormedUri _ ->
            let _,u,_,_ = Librarian.baseuri_of_script ~include_paths:[] suri in
-           if String.length u < 5 || String.sub u 0 5 <> "cic:/" then begin
-             HLog.error (sprintf "File %s defines a bad baseuri: %s"
-               suri u);
+           if Librarian.is_uri u then u else begin
+             HLog.error (sprintf "File %s defines a bad baseuri: %s" suri u);
              exit 1
-           end else
-             u
+           end 
        in
         uri::uris_to_remove) [] files
   in