about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/init.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init.go b/src/init.go
index b512ecb..7ebbd8b 100644
--- a/src/init.go
+++ b/src/init.go
@@ -36,7 +36,8 @@ func buildBot(i int, config *Config) {
 	//
 	// This uses the given architecture, the given bitness and the given path in
 	// rasm2 to compile the bot
-	radareCommand := fmt.Sprintf("rasm2 -a %s -b %d -f %s", config.Arch, config.Bits, path)
+	botPath := config.Bots[i].Path
+	radareCommand := fmt.Sprintf("rasm2 -a %s -b %d -f %s", config.Arch, config.Bits, botPath)
 	botSource := r2cmd(r2p1, radareCommand)
 
 	bot := Bot{