Skip to content

Commit

Permalink
fix(build): fix issue where shell conditional output is passed to go …
Browse files Browse the repository at this point in the history
…build (#1887)

fix issue where shell conditional output is passed to go build

(cherry picked from commit 6744fa7)
  • Loading branch information
Jguer committed Jan 5, 2023
1 parent b8debd1 commit c40e949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -27,7 +27,7 @@ MOFILES := $(POFILES:.po=.mo)
FLAGS ?= -trimpath -mod=readonly -modcacherw
EXTRA_FLAGS ?= -buildmode=pie
LDFLAGS := -X "main.yayVersion=${VERSION}" -X "main.localePath=${SYSTEMLOCALEPATH}" -linkmode=external
FLAGS += $(shell pacman -T 'pacman-git' && echo "-tags next")
FLAGS += $(shell pacman -T 'pacman-git' >/dev/null 2>&1 && echo "-tags next")

RELEASE_DIR := ${PKGNAME}_${VERSION}_${ARCH}
PACKAGE := $(RELEASE_DIR).tar.gz
Expand Down

0 comments on commit c40e949

Please sign in to comment.