summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-12 00:00:15 +0100
committerSam James <sam@gentoo.org>2023-06-12 20:10:43 +0100
commitb59fd9cb9056c08444ecb96bf5cf09bbde27e741 (patch)
treef0bcb95ec61ceb9036dccd5d330a50aeabf8ff3c
parentnet-nds/openldap: microoptimize (diff)
downloadgentoo-b59fd9cb9056c08444ecb96bf5cf09bbde27e741.tar.gz
gentoo-b59fd9cb9056c08444ecb96bf5cf09bbde27e741.tar.bz2
gentoo-b59fd9cb9056c08444ecb96bf5cf09bbde27e741.zip
dev-db/sqlite: microoptimize
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-db/sqlite/sqlite-3.41.2-r1.ebuild4
-rw-r--r--dev-db/sqlite/sqlite-3.42.0.ebuild4
-rw-r--r--dev-db/sqlite/sqlite-9999.ebuild4
3 files changed, 6 insertions, 6 deletions
diff --git a/dev-db/sqlite/sqlite-3.41.2-r1.ebuild b/dev-db/sqlite/sqlite-3.41.2-r1.ebuild
index b123ebe2b644..c7a72617f114 100644
--- a/dev-db/sqlite/sqlite-3.41.2-r1.ebuild
+++ b/dev-db/sqlite/sqlite-3.41.2-r1.ebuild
@@ -14,9 +14,9 @@ if [[ ${PV} == 9999 ]]; then
S="${WORKDIR}"/${PN}
PROPERTIES="live"
else
- SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
+ printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ")
DOC_PV="${SRC_PV}"
- #DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
+ #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ")
SRC_URI="
https://sqlite.org/2023/${PN}-src-${SRC_PV}.zip
diff --git a/dev-db/sqlite/sqlite-3.42.0.ebuild b/dev-db/sqlite/sqlite-3.42.0.ebuild
index 8e4f233695fa..e6a1a94de643 100644
--- a/dev-db/sqlite/sqlite-3.42.0.ebuild
+++ b/dev-db/sqlite/sqlite-3.42.0.ebuild
@@ -14,9 +14,9 @@ if [[ ${PV} == 9999 ]]; then
S="${WORKDIR}"/${PN}
PROPERTIES="live"
else
- SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
+ printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ")
DOC_PV="${SRC_PV}"
- #DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
+ #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ")
SRC_URI="
https://sqlite.org/2023/${PN}-src-${SRC_PV}.zip
diff --git a/dev-db/sqlite/sqlite-9999.ebuild b/dev-db/sqlite/sqlite-9999.ebuild
index 2595b6ad1b89..1075e742ae8f 100644
--- a/dev-db/sqlite/sqlite-9999.ebuild
+++ b/dev-db/sqlite/sqlite-9999.ebuild
@@ -14,9 +14,9 @@ if [[ ${PV} == 9999 ]]; then
S="${WORKDIR}"/${PN}
PROPERTIES="live"
else
- SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
+ printf -v SRC_PV "%u%02u%02u%02u" $(ver_rs 1- " ")
DOC_PV="${SRC_PV}"
- #DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
+ #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ")
SRC_URI="
https://sqlite.org/2022/${PN}-src-${SRC_PV}.zip