mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-24 04:43:25 +03:00
Remove -S flag from call to env
This isn't recognised on all systems, and I don't think it's needed (?) Fixes #175
This commit is contained in:
parent
66d67c84cc
commit
65fe430a91
@ -26,7 +26,7 @@ findChez
|
||||
Just n => pure n
|
||||
Nothing => do e <- firstExists [p ++ x | p <- ["/usr/bin/", "/usr/local/bin/"],
|
||||
x <- ["chez", "chezscheme9.5", "scheme"]]
|
||||
pure $ fromMaybe "/usr/bin/env -S scheme" e
|
||||
pure $ fromMaybe "/usr/bin/env scheme" e
|
||||
|
||||
-- Given the chez compiler directives, return a list of pairs of:
|
||||
-- - the library file name
|
||||
|
@ -22,12 +22,12 @@ import System.Info
|
||||
findRacket : IO String
|
||||
findRacket =
|
||||
do env <- getEnv "RACKET"
|
||||
pure $ fromMaybe "/usr/bin/env -S racket" env
|
||||
pure $ fromMaybe "/usr/bin/env racket" env
|
||||
|
||||
findRacoExe : IO String
|
||||
findRacoExe =
|
||||
do env <- getEnv "RACKET_RACO"
|
||||
pure $ (fromMaybe "/usr/bin/env -S raco" env) ++ " exe"
|
||||
pure $ (fromMaybe "/usr/bin/env raco" env) ++ " exe"
|
||||
|
||||
schHeader : String -> String
|
||||
schHeader libs
|
||||
|
Loading…
Reference in New Issue
Block a user