commit:     16bd04603d27a983d081156473f6e9963ef7f384
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 10 14:37:04 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 14:38:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bd0460

sys-devel/clang-common: Add missing quotes to --gcc-install-dir=

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/clang-common/clang-common-15.0.2-r1.ebuild             | 2 +-
 sys-devel/clang-common/clang-common-15.0.3.9999.ebuild           | 2 +-
 sys-devel/clang-common/clang-common-16.0.0.9999.ebuild           | 2 +-
 sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild 
b/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
index a29bbbc806c9..287aa05d2957 100644
--- a/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.2-r1.ebuild
@@ -120,7 +120,7 @@ pkg_preinst() {
        local gcc_path=$(gcc-config --get-lib-path 2>/dev/null)
        if [[ -n ${gcc_path} ]]; then
                cat >> "${ED}/etc/clang/gentoo-gcc-install.cfg" <<-EOF
-                       --gcc-install-dir=${gcc_path%%:*}
+                       --gcc-install-dir="${gcc_path%%:*}"
                EOF
        fi
 }

diff --git a/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild 
b/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
index 993dddec4bf9..93434632f168 100644
--- a/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-15.0.3.9999.ebuild
@@ -119,7 +119,7 @@ pkg_preinst() {
        local gcc_path=$(gcc-config --get-lib-path 2>/dev/null)
        if [[ -n ${gcc_path} ]]; then
                cat >> "${ED}/etc/clang/gentoo-gcc-install.cfg" <<-EOF
-                       --gcc-install-dir=${gcc_path%%:*}
+                       --gcc-install-dir="${gcc_path%%:*}"
                EOF
        fi
 }

diff --git a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild 
b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
index 993dddec4bf9..93434632f168 100644
--- a/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0.9999.ebuild
@@ -119,7 +119,7 @@ pkg_preinst() {
        local gcc_path=$(gcc-config --get-lib-path 2>/dev/null)
        if [[ -n ${gcc_path} ]]; then
                cat >> "${ED}/etc/clang/gentoo-gcc-install.cfg" <<-EOF
-                       --gcc-install-dir=${gcc_path%%:*}
+                       --gcc-install-dir="${gcc_path%%:*}"
                EOF
        fi
 }

diff --git a/sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild 
b/sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild
index 993dddec4bf9..93434632f168 100644
--- a/sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild
+++ b/sys-devel/clang-common/clang-common-16.0.0_pre20221006-r1.ebuild
@@ -119,7 +119,7 @@ pkg_preinst() {
        local gcc_path=$(gcc-config --get-lib-path 2>/dev/null)
        if [[ -n ${gcc_path} ]]; then
                cat >> "${ED}/etc/clang/gentoo-gcc-install.cfg" <<-EOF
-                       --gcc-install-dir=${gcc_path%%:*}
+                       --gcc-install-dir="${gcc_path%%:*}"
                EOF
        fi
 }

Reply via email to