summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-18 22:37:42 +0000
committerSam James <sam@gentoo.org>2024-12-18 22:38:04 +0000
commit73b2045b0b9ca4fa11a1081152e220502785fccf (patch)
tree33632511450799db7035ba1915cd8453139fd33e /dev-build
parentdev-build/cmake: update 9999 (diff)
downloadgentoo-73b2045b0b9ca4fa11a1081152e220502785fccf.tar.gz
gentoo-73b2045b0b9ca4fa11a1081152e220502785fccf.tar.bz2
gentoo-73b2045b0b9ca4fa11a1081152e220502785fccf.zip
dev-build/cmake: style tweak
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-build')
-rw-r--r--dev-build/cmake/cmake-3.31.2.ebuild4
-rw-r--r--dev-build/cmake/cmake-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-build/cmake/cmake-3.31.2.ebuild b/dev-build/cmake/cmake-3.31.2.ebuild
index a0cca4e35ac4..35abe94a134d 100644
--- a/dev-build/cmake/cmake-3.31.2.ebuild
+++ b/dev-build/cmake/cmake-3.31.2.ebuild
@@ -133,8 +133,8 @@ pkg_pretend() {
# See bug #599684 and bug #753581 (at least)
for file in /etc/arch-release /etc/redhat-release /etc/debian_version ; do
- if [[ -e $file ]]; then
- errant_files+=("$file")
+ if [[ -e ${file} ]]; then
+ errant_files+=( "${file}" )
fi
done
diff --git a/dev-build/cmake/cmake-9999.ebuild b/dev-build/cmake/cmake-9999.ebuild
index 5528e7364aa9..33cdd6eb2848 100644
--- a/dev-build/cmake/cmake-9999.ebuild
+++ b/dev-build/cmake/cmake-9999.ebuild
@@ -133,8 +133,8 @@ pkg_pretend() {
# See bug #599684 and bug #753581 (at least)
for file in /etc/arch-release /etc/redhat-release /etc/debian_version ; do
- if [[ -e $file ]]; then
- errant_files+=("$file")
+ if [[ -e ${file} ]]; then
+ errant_files+=( "${file}" )
fi
done