commit:     999c26dc8b0a80fcc6e902d282b42fc198397e71
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 18 03:14:04 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 03:14:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=999c26dc

dev-util/pkgdev: fix docs override

No functional change, just useful for building doc tarball.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild | 3 ++-
 dev-util/pkgdev/pkgdev-9999.ebuild     | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild 
b/dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild
index 5758209ab661..080ce3e061e9 100644
--- a/dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild
+++ b/dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild
@@ -6,7 +6,8 @@ EAPI=8
 # Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pkgdev-docs
 # Set to 1 if prebuilt, 0 if not
 # (the construct below is to allow overriding from env for script)
-PKGDEV_DOCS_PREBUILT=${PKGDEV_DOCS_PREBUILT:-1}
+: ${PKGDEV_DOCS_PREBUILT:=1}
+
 PKGDEV_DOCS_PREBUILT_DEV=sam
 PKGDEV_DOCS_VERSION=$(ver_cut 1-3)
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later

diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild 
b/dev-util/pkgdev/pkgdev-9999.ebuild
index 4d8a1fd72641..5172a308d581 100644
--- a/dev-util/pkgdev/pkgdev-9999.ebuild
+++ b/dev-util/pkgdev/pkgdev-9999.ebuild
@@ -6,7 +6,8 @@ EAPI=8
 # Generate using 
https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pkgdev-docs
 # Set to 1 if prebuilt, 0 if not
 # (the construct below is to allow overriding from env for script)
-PKGDEV_DOCS_PREBUILT=${PKGDEV_DOCS_PREBUILT:-1}
+: ${PKGDEV_DOCS_PREBUILT:=1}
+
 PKGDEV_DOCS_PREBUILT_DEV=sam
 PKGDEV_DOCS_VERSION=$(ver_cut 1-3)
 # Default to generating docs (inc. man pages) if no prebuilt; overridden later

Reply via email to