Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refs #27874 - Quote the variable in tfm wrappers #4129

Merged
merged 1 commit into from Sep 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 6 additions & 3 deletions packages/foreman/tfm/tfm.spec
Expand Up @@ -19,7 +19,7 @@
Summary: Package that installs %scl
Name: %scl_name
Version: 5.0
Release: 7%{?dist}
Release: 8%{?dist}
License: GPLv2+
Group: Applications/File
Source0: README
Expand Down Expand Up @@ -235,13 +235,13 @@ cp %{SOURCE2} %{buildroot}%{_rpmconfigdir}/fileattrs/
cat >> %{buildroot}%{_root_bindir}/%{scl_name}-ruby << EOF
#!/bin/bash
source scl_source enable %{scl_name}
exec ruby "$@"
exec ruby "\$@"
EOF

cat >> %{buildroot}%{_root_bindir}/%{scl_name}-rake << EOF
#!/bin/bash
source scl_source enable %{scl_name}
exec rake "$@"
exec rake "\$@"
EOF

scl enable %{scl_ror} - << \EOF
Expand Down Expand Up @@ -294,6 +294,9 @@ selinuxenabled && load_policy || :
%{_root_sysconfdir}/rpm/macros.%{scl_name}-scldevel

%changelog
* Wed Sep 18 2019 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 5.0-8
- Quote a variable in the tfm- wrappers

* Tue Sep 17 2019 Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl> - 5.0-7
- Optimize SCL wrapper scripts

Expand Down