summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/amass/amass-9999.ebuild4
-rw-r--r--net-misc/BaiduPCS-Go/BaiduPCS-Go-9999.ebuild4
-rw-r--r--net-misc/curlie/curlie-9999.ebuild2
-rw-r--r--net-misc/hargo/hargo-9999.ebuild2
4 files changed, 6 insertions, 6 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
diff --git a/net-misc/BaiduPCS-Go/BaiduPCS-Go-9999.ebuild b/net-misc/BaiduPCS-Go/BaiduPCS-Go-9999.ebuild
index 01efabe..6adfb31 100644
--- a/net-misc/BaiduPCS-Go/BaiduPCS-Go-9999.ebuild
+++ b/net-misc/BaiduPCS-Go/BaiduPCS-Go-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="$( echo "-s -w -X 'main.Version='${EGO_VER}'" )"
+ local ld_flags="$( echo "-s -w -X 'main.Version=${EGO_VER}'" )"
set -- env \
CGO_ENABLED=0 \
- go build -o "bin/baidu-pcs" -mod=vendor -v -work -x "${build_flags}" -ldflags "${ld_flags}" \
+ go build -o "bin/baidu-pcs" -mod=vendor -v -work -x ${build_flags} -ldflags "${ld_flags}" \
.
echo "$@"
"$@" || die
diff --git a/net-misc/curlie/curlie-9999.ebuild b/net-misc/curlie/curlie-9999.ebuild
index ac9812b..b914185 100644
--- a/net-misc/curlie/curlie-9999.ebuild
+++ b/net-misc/curlie/curlie-9999.ebuild
@@ -47,7 +47,7 @@ src_compile() {
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}" \
.
echo "$@"
"$@" || die
diff --git a/net-misc/hargo/hargo-9999.ebuild b/net-misc/hargo/hargo-9999.ebuild
index efebab5..44c6c21 100644
--- a/net-misc/hargo/hargo-9999.ebuild
+++ b/net-misc/hargo/hargo-9999.ebuild
@@ -47,7 +47,7 @@ src_compile() {
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