Issue #281 - Try importing file locally first

This commit is contained in:
Justin Ethier 2019-11-21 13:39:45 -05:00
parent c63f6a1eb2
commit fc108f067f
2 changed files with 5 additions and 8 deletions

View file

@ -1,4 +1,4 @@
#|
|
| Copyright (c) 2017 Koz Ross
|
| Permission is hereby granted, free of charge, to any person obtaining a copy of

View file

@ -307,7 +307,7 @@
;(tagged-list? 'srfi import)
(tagged-list? 'cyclone import)
)
(list (Cyc-installation-dir 'sld) "./")
(list "./" (Cyc-installation-dir 'sld))
(list "./"))))
(call/cc
(lambda (return)
@ -321,12 +321,9 @@
(append prepend-dirs dir append-dirs))
;; Not found, just return base name
(lib:check-system-path
(if (> (string-length (car dir)) 0)
(string-append (car dir) "/" filename)
filename))))
;(if (tagged-list? 'scheme import)
; (string-append (Cyc-installation-dir 'sld) "/" path) ;; Built-in library
; path)
(if (> (length dir) 1)
(string-append (cadr dir) "/" filename)
(string-append (car dir) "/" filename)))))
))
;; string :: string