Skip to content

Commit

Permalink
A dirty .gerbil can break the build; not good. (#841)
Browse files Browse the repository at this point in the history
* A dirty .gerbil can break the build; not good.

* some more

* actually do it at thr right place

* oops

* try again
  • Loading branch information
vyzo authored Sep 13, 2023
1 parent 921da63 commit 3928647
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/gerbil/runtime/gx-gambc.scm
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@
(userpath
(path-expand "lib" (getenv "GERBIL_PATH" "~/.gerbil")))
(loadpath
(cons userpath loadpath)))
(if (getenv "GERBIL_BUILD_PREFIX" #f)
loadpath
(cons userpath loadpath))))
(&current-module-libpath (cons libdir loadpath)))

(let* ((registry-entry (lambda (m) (cons m 'builtin)))
Expand Down
3 changes: 0 additions & 3 deletions src/std/build-std.ss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
;;; Inner build file for std, as specially imported and called by ./build.ss for bootstrap reasons

(import ./build-config ./make)
;; use this when making changes to make and want to rebuild
;; (import "build-config" "make")

(include "build-spec.ss")

(def (build . args) (apply make (apply build-spec args) args))

0 comments on commit 3928647

Please sign in to comment.