mirror of
https://github.com/janet-lang/janet
synced 2024-12-23 15:00:27 +00:00
Quick fix.
This commit is contained in:
parent
3d76d988c3
commit
2d2bc436e6
@ -352,7 +352,7 @@
|
|||||||
(install-rule main binpath)
|
(install-rule main binpath)
|
||||||
# Create a dud batch file when on windows.
|
# Create a dud batch file when on windows.
|
||||||
(when is-win
|
(when is-win
|
||||||
(def name (last (string/split sep src)))
|
(def name (last (string/split sep main)))
|
||||||
(def bat (string "@echo off\r\njanet %~dp0\\" name "%*"))
|
(def bat (string "@echo off\r\njanet %~dp0\\" name "%*"))
|
||||||
(def newname (string binpath sep name ".bat"))
|
(def newname (string binpath sep name ".bat"))
|
||||||
(add-body "install"
|
(add-body "install"
|
||||||
|
Loading…
Reference in New Issue
Block a user