From 2739e2fd280ac8e830abcea50a6e878538a0d258 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Sat, 12 Aug 2023 14:08:50 +0100 Subject: [PATCH] build: fix the copying of the binary --- magefiles/mage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magefiles/mage.go b/magefiles/mage.go index 7178ebc..2478849 100644 --- a/magefiles/mage.go +++ b/magefiles/mage.go @@ -36,7 +36,7 @@ func Install() error { dest := filepath.Join(installPrefix, "bin", binary) - if err := sh.Copy(binary, dest); err != nil { + if err := sh.Copy(dest, binary); err != nil { return fmt.Errorf("unable to install %s; %w", binary, err) }