Skip to content

Commit e8bd7c8

Browse files
fix: use Makefile syntax for version variable in LDFLAGS
Use $(SHELLHUB_VERSION) instead of ${SHELLHUB_VERSION} for consistency with Buildroot Makefile conventions.
1 parent 4db8653 commit e8bd7c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/shellhub/shellhub.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SHELLHUB_DEPENDENCIES = \
77
libxcrypt \
88
ca-certificates
99
SHELLHUB_GOMOD = github.com/shellhub-io/shellhub/agent
10-
SHELLHUB_LDFLAGS = -X main.AgentVersion=v${SHELLHUB_VERSION}
10+
SHELLHUB_LDFLAGS = -X main.AgentVersion=v$(SHELLHUB_VERSION)
1111

1212
define SHELLHUB_INSTALL_INIT_SYSTEMD
1313
$(INSTALL) -D -m 0644 $(SHELLHUB_PKGDIR)/shellhub.service \

0 commit comments

Comments
 (0)