Skip to content

Commit

Permalink
fix clown shoes with relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Aug 25, 2024
1 parent d73d9f2 commit 2a1850e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/tools/env.ss
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
(cond
((hash-get opt 'gerbil-path)
=> (lambda (path)
(unless (file-exists? path)
(create-directory* path))
(setenv "GERBIL_PATH" path)
(add-load-path! (path-expand "lib" path))))
(let (path (path-expand path))
(unless (file-exists? path)
(create-directory* path))
(setenv "GERBIL_PATH" path)
(add-load-path! (path-expand "lib" path)))))
((not (hash-get opt 'global-env))
(setup-local-pkg-env! #f))))

Expand Down

0 comments on commit 2a1850e

Please sign in to comment.