mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-09-21 10:18:23 +03:00
Merge pull request #326 from melted/win_clean
No need to check for BSD on Windows
This commit is contained in:
commit
649e1989e0
@ -367,16 +367,6 @@ startChezWinSh : String -> String -> String -> String
|
|||||||
startChezWinSh chez appdir target = unlines
|
startChezWinSh chez appdir target = unlines
|
||||||
[ "#!/bin/sh"
|
[ "#!/bin/sh"
|
||||||
, ""
|
, ""
|
||||||
, "case `uname -s` in "
|
|
||||||
, " OpenBSD|FreeBSD|NetBSD) "
|
|
||||||
, " DIR=\"`grealpath $0`\""
|
|
||||||
, " ;; "
|
|
||||||
, " "
|
|
||||||
, " *) "
|
|
||||||
, " DIR=\"`realpath $0`\" "
|
|
||||||
, " ;; "
|
|
||||||
, "esac "
|
|
||||||
, ""
|
|
||||||
, "CHEZ=$(cygpath \"" ++ chez ++"\")"
|
, "CHEZ=$(cygpath \"" ++ chez ++"\")"
|
||||||
, "export PATH=\"`dirname \"$DIR\"`/\"" ++ appdir ++ "\":$PATH\""
|
, "export PATH=\"`dirname \"$DIR\"`/\"" ++ appdir ++ "\":$PATH\""
|
||||||
, "$CHEZ --script \"$(dirname \"$DIR\")/" ++ target ++ "\" \"$@\""
|
, "$CHEZ --script \"$(dirname \"$DIR\")/" ++ target ++ "\" \"$@\""
|
||||||
|
Loading…
Reference in New Issue
Block a user