summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen, Chih-Chia <pigfoot@gmail.com>2022-03-16 19:46:53 +0800
committerChen, Chih-Chia <pigfoot@gmail.com>2022-03-16 19:46:53 +0800
commitc3a285614b0059707dfe40bbfadf700e89a5e55e (patch)
tree919d509443000e5fd2bb65a589809dd8a0e316e2 /net-analyzer
parentapply new go-module guideline (diff)
downloadpigfoot-c3a285614b0059707dfe40bbfadf700e89a5e55e.tar.gz
pigfoot-c3a285614b0059707dfe40bbfadf700e89a5e55e.tar.bz2
pigfoot-c3a285614b0059707dfe40bbfadf700e89a5e55e.zip
apply new go-module guideline
Signed-off-by: Chen, Chih-Chia <pigfoot@gmail.com>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/amass/amass-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-analyzer/amass/amass-9999.ebuild b/net-analyzer/amass/amass-9999.ebuild
index 0049921..0f2b829 100644
--- a/net-analyzer/amass/amass-9999.ebuild
+++ b/net-analyzer/amass/amass-9999.ebuild
@@ -43,11 +43,11 @@ src_compile() {
use pie && local build_pie="-buildmode=pie"
local build_flags="$( echo ${EGO_BUILD_FLAGS} ) $( echo ${build_pie} )"
- local ld_flags=""
+ local ld_flags="$( echo "" )"
set -- env \
CGO_ENABLED=0 \
- go build -o "bin/${PN}" -mod=vendor -v -work -x "${build_flags}" -ldflags "${ld_flags}" \
+ go build -o "bin/${PN}" -mod=vendor -v -work -x ${build_flags} -ldflags "${ld_flags}" \
./cmd/${PN}
echo "$@"
"$@" || die