summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-07-21 17:38:46 +0200
committerxengineering <me@xengineering.eu>2024-07-21 17:38:46 +0200
commite08829ca3870a3a802ac756b9194b1217da30d0f (patch)
tree3773f825f129c280c2df58430c2b0ea941f09cac /main.go
parent1b4affb524536ca904f09b0de65fddad3be2a75b (diff)
downloadcraft-e08829ca3870a3a802ac756b9194b1217da30d0f.tar
craft-e08829ca3870a3a802ac756b9194b1217da30d0f.tar.zst
craft-e08829ca3870a3a802ac756b9194b1217da30d0f.zip
Move from busybox ash to sh
`busybox` is not installed inside the current VM and there is no strict reason to use it. `sh` instead should be present on any targeted system.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index f9d7d13..da2284d 100644
--- a/main.go
+++ b/main.go
@@ -94,7 +94,7 @@ func craft(workbench string) {
%s
`, task)
- cmd := exec.Command("busybox", "ash")
+ cmd := exec.Command("sh")
cmd.Dir = workbench
cmd.Stdin = bytes.NewBufferString(script)
cmd.Stdout = os.Stdout