Skip to content

Commit 680e26c

Browse files
committed
build: fix passing arguments to build.sh
1 parent 42caffd commit 680e26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
MAUTRIX_VERSION=$(cat go.mod | grep 'maunium.net/go/mautrix ' | awk '{ print $2 }')
33
GO_LDFLAGS="-s -w -X main.Tag=$(git describe --exact-match --tags 2>/dev/null) -X main.Commit=$(git rev-parse HEAD) -X 'main.BuildTime=`date -Iseconds`' -X 'maunium.net/go/mautrix.GoModVersion=$MAUTRIX_VERSION'"
4-
go build -ldflags="$GO_LDFLAGS" ./cmd/mautrix-whatsapp "$@"
4+
go build -ldflags="$GO_LDFLAGS" "$@" ./cmd/mautrix-whatsapp

0 commit comments

Comments
 (0)