Comment 3 for bug 633861

Revision history for this message
Ben Samuel (ben-samuel) wrote :

Not sure if this is The Right Thing To Do, but it fixes it for me. The issue occurs at code in `Script/Node/FS.py` in the decision block `if initial_hash or absolute:` (at or about line 1169) when it is trying to determine what the path is relative to.

My patch is simply:

{{{
=== modified file '__init__.py'
--- __init__.py 2010-07-08 14:23:28 +0000
+++ __init__.py 2010-09-12 12:10:32 +0000
@@ -76,7 +76,7 @@
         modules = map(lambda (qualified, module) : module, imports)
         interfaces = []
         for module in modules:
- module = module.replace(".", "/")
+ module = "#" + module.replace(".", "/")
                 interface = module + ".hi"
                 hs_file = module + ".hs"
                 lhs_file = module + ".lhs"
}}}