From 2d2bc436e66ad7c71dc16b1fa037c5605a984293 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 1 Jun 2019 10:40:59 -0400 Subject: [PATCH] Quick fix. --- auxlib/cook.janet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auxlib/cook.janet b/auxlib/cook.janet index 02671052..6ae48603 100644 --- a/auxlib/cook.janet +++ b/auxlib/cook.janet @@ -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"