From 82d6e3aa87ec26c41253738aa4ec061cf1a48657 Mon Sep 17 00:00:00 2001 From: pauljako Date: Tue, 4 Mar 2025 16:46:12 +0100 Subject: [PATCH] fix(install.go): fixed unused target --- install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.go b/install.go index 0f19565..edb034e 100644 --- a/install.go +++ b/install.go @@ -167,7 +167,7 @@ func install_bin(instance string, path string, target string, program string) er bnd_send_cmd_path, err := filepath.Abs(filepath.Join(instance, "exec", "bin", "bnd-send-cmd")) - contents := "#!/usr/bin/env bash\n" + bnd_send_cmd_path + " " + instance + " \"{\\\"command\\\": \\\"run\\\", \\\"package\\\": \\\"" + program + "\\\", \\\"workdir\\\": \\\"$PWD\\\", \\\"arguments\\\": \\\"$@\\\"}\"\n" + contents := "#!/usr/bin/env bash\n" + bnd_send_cmd_path + " " + instance + " \"{\\\"command\\\": \\\"run\\\", \\\"package\\\": \\\"" + program + "\\\", \\\"target\\\": \\\"" + target + "\\\", \\\"workdir\\\": \\\"$PWD\\\", \\\"arguments\\\": \\\"$@\\\"}\"\n" err = os.WriteFile(bin_path, []byte(contents), 0755) if err != nil {