mirror of
https://github.com/Jguer/yay.git
synced 2025-10-15 00:02:26 -04:00
fix(build): fix issue where shell conditional output is passed to go build (#1887)
fix issue where shell conditional output is passed to go build (cherry picked from commit 6744fa721f4737f695b40eac0571e3b4b1504b65)
This commit is contained in:
parent
b8debd1ae7
commit
c40e949752
2
Makefile
2
Makefile
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user