diff --git a/runners/scripts/runner.elv b/runners/scripts/runner.elv index a793e7c..9023bb1 100644 --- a/runners/scripts/runner.elv +++ b/runners/scripts/runner.elv @@ -1,12 +1,15 @@ +use str + fn __FUNCTION_ALIAS__ { |@a| - use str var sep = __CMD_SEPARATOR__ - var bhop_cmd = (echo __HOPPERCMD__ | $@a) + var bhop_cmd = (echo __HOPPERCMD__ $@a) var out = (__SHELL_CALLABLE__ -c $bhop_cmd) if (not (str:contains $out $sep)) { echo $out } - var arr = [(str:split $out $sep)] + var arr = [(str:split $sep $out)] cd $arr[0] __SHELL_CALLABLE__ -c $arr[1] } + +edit:add-var __FUNCTION_ALIAS__~ $__FUNCTION_ALIAS__~