commit:     73b2045b0b9ca4fa11a1081152e220502785fccf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 18 22:37:42 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 18 22:38:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b2045b

dev-build/cmake: style tweak

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

 dev-build/cmake/cmake-3.31.2.ebuild | 4 ++--
 dev-build/cmake/cmake-9999.ebuild   | 4 ++--
 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
 

Reply via email to