summaryrefslogtreecommitdiff
path: root/dev-util/github-cli/github-cli-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/github-cli/github-cli-9999.ebuild')
-rw-r--r--dev-util/github-cli/github-cli-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/github-cli/github-cli-9999.ebuild b/dev-util/github-cli/github-cli-9999.ebuild
index ec3be96c343a..61c48d3dee4c 100644
--- a/dev-util/github-cli/github-cli-9999.ebuild
+++ b/dev-util/github-cli/github-cli-9999.ebuild
@@ -276,7 +276,7 @@ RDEPEND=">=dev-vcs/git-1.7.3"
BDEPEND=">=dev-lang/go-1.13"
src_unpack() {
- if has live "${PROPERTIES}"; then
+ if [[ ${PV} == *9999 ]]; then
git-r3_src_unpack
go-module_live_vendor
else
@@ -285,7 +285,7 @@ src_unpack() {
}
src_compile() {
- has live "${PROPERTIES}" || export GH_VERSION="v${PV}"
+ [[ ${PV} == *9999 ]] || export GH_VERSION="v${PV}"
# Golang LDFLAGS are not the same as GCC/Binutils LDFLAGS
unset LDFLAGS
emake