[Pkg-ocaml-maint-commits] r3160 - /trunk/packages/polygen/trunk/debian/patches/02-search-for-grammars.diff

enrico at users.alioth.debian.org enrico at users.alioth.debian.org
Sun Sep 17 13:11:09 UTC 2006


Author: enrico
Date: Sun Sep 17 13:11:08 2006
New Revision: 3160

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3160
Log:
Removed output prerrs from the patch

Modified:
    trunk/packages/polygen/trunk/debian/patches/02-search-for-grammars.diff

Modified: trunk/packages/polygen/trunk/debian/patches/02-search-for-grammars.diff
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/polygen/trunk/debian/patches/02-search-for-grammars.diff?rev=3160&op=diff
==============================================================================
--- trunk/packages/polygen/trunk/debian/patches/02-search-for-grammars.diff (original)
+++ trunk/packages/polygen/trunk/debian/patches/02-search-for-grammars.diff Sun Sep 17 13:11:08 2006
@@ -55,13 +55,11 @@
 +       with Not_found -> Some lang
 +     with Not_found -> None
 +   in
-+    if (Sys.file_exists(source)) then (
-+      prerr_endline "SAMEDIR none" ;
++    if (Sys.file_exists(source)) then
 +    	source
-+    ) else if (Sys.file_exists(source^".grm")) then (
-+      prerr_endline "SAMEDIRgrm none" ;
++    else if (Sys.file_exists(source^".grm")) then
 +    	source^".grm"
-+    ) else match lang with
++    else match lang with
 +    | Some s when Sys.file_exists ("/usr/share/polygen/"^s^"/"^source) -> (
 +        prerr_endline ("LANG1 "^s) ;
 +        "/usr/share/polygen/"^s^"/"^source




More information about the Pkg-ocaml-maint-commits mailing list