1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 15:00:27 +00:00

Quick fix.

This commit is contained in:
Calvin Rose 2019-06-01 10:40:59 -04:00
parent 3d76d988c3
commit 2d2bc436e6

View File

@ -352,7 +352,7 @@
(install-rule main binpath)
# Create a dud batch file when on windows.
(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 newname (string binpath sep name ".bat"))
(add-body "install"