Skip to content

Commit 3015933

Browse files
committed
Fix build script to compile correct commands
1 parent 334fe8d commit 3015933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ OS=${1:-$(uname -s | tr -s '[A-Z]' '[a-z')}
88
ARCH=${2:-$(uname -m | sed -e 's/x86_/amd/g')}
99

1010
for command in $(ls cmd); do
11-
GOOS=${OS} GOARCH=${ARCH} go build -o build/$command.${OS}_${ARCH} ./cmd/list
11+
GOOS=${OS} GOARCH=${ARCH} go build -o build/$command.${OS}_${ARCH} ./cmd/$command
1212
done

0 commit comments

Comments
 (0)