diff --git a/gcc-toolset-15.spec b/gcc-toolset-15.spec index bf2b13a..d11cbc9 100644 --- a/gcc-toolset-15.spec +++ b/gcc-toolset-15.spec @@ -37,7 +37,7 @@ BuildRequires: scl-utils-build Summary: Package that installs %scl Name: %scl_name Version: %{gts_ver}.0 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: Applications/File BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -264,6 +264,9 @@ fi %endif %changelog +* Wed Jun 11 2025 Siddhesh Poyarekar - 15.0-8 +- Fix typo in gcc-toolset-env (RHEL-94760) + * Tue Jun 10 2025 Siddhesh Poyarekar - 15.0-7 - Man page and documentation updates (RHEL-95996) - Support scl-style quoted invocation (RHEL-94760) diff --git a/gcc-toolset-env.in b/gcc-toolset-env.in index 6a65ac9..0e129fa 100644 --- a/gcc-toolset-env.in +++ b/gcc-toolset-env.in @@ -7,7 +7,7 @@ if [ -z "$1" ]; then exec /usr/bin/sh # Compatibility with `scl enable`, where the entire command shows up as a # single argument. -if [ -z "$2" ]; then +elif [ -z "$2" ]; then exec sh -c "$@" else exec "$@"