Add quotes around LDFLAGS to match upstream package

This commit is contained in:
Anthony Wang 2024-03-12 14:39:21 +00:00
parent 47a3a45cdb
commit 22bcdf116e
Signed by: a
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = woodpecker-agent-sudo
pkgdesc = A simple CI engine with great extensibility (agent), patched to use sudo to run local pipelines
pkgver = 2.3.0
pkgrel = 1
pkgrel = 2
url = https://woodpecker-ci.org
arch = x86_64
license = Apache

View file

@ -5,7 +5,7 @@
_pkgname='woodpecker-agent'
pkgname=$_pkgname-sudo
pkgver=2.3.0
pkgrel=1
pkgrel=2
pkgdesc='A simple CI engine with great extensibility (agent), patched to use sudo to run local pipelines'
arch=('x86_64')
url='https://woodpecker-ci.org'
@ -73,7 +73,7 @@ build() {
-modcacherw \
-ldflags "-compressdwarf=false \
-linkmode external \
-extldflags ${LDFLAGS}" \
-extldflags '${LDFLAGS}'" \
-o build \
./cmd/agent