summaryrefslogtreecommitdiff
path: root/scheme2rst.py
diff options
context:
space:
mode:
Diffstat (limited to 'scheme2rst.py')
-rw-r--r--scheme2rst.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scheme2rst.py b/scheme2rst.py
index 9b3b524..f122849 100644
--- a/scheme2rst.py
+++ b/scheme2rst.py
@@ -25,11 +25,11 @@ SNIPPETNAME = re.compile(r'\n\$\$(%s)\n' % identifier)
INCLUDE = re.compile(r'\$\$([-\w\d_\./]+):')
INCLUDESNIPPET = re.compile(r'\$\$([-\w\d_\.]+):(%s)\n' % identifier)
-PATH = os.environ['IKARUS_LIBRARY_PATH']
+PATHS = os.environ['IKARUS_LIBRARY_PATH'].split(':')
-APS_PATH = os.path.join(PATH, 'aps')
+APS_PATH = os.path.join(PATHS[0], 'aps')
-PATHS = '.', PATH, APS_PATH
+PATHS = ['.'] + PATHS + [APS_PATH]
def include(fname, paths=PATHS, exts=('.ss', '.sls')):
for path in paths: