From 4caea74068b49a7a1416e6ba0d9faac970ce4666 Mon Sep 17 00:00:00 2001 From: Lukas Vrabec Date: Feb 05 2018 16:01:34 +0000 Subject: Updated rpm.macros --- diff --git a/rpm.macros b/rpm.macros index 2b244aa..bf473c9 100644 --- a/rpm.macros +++ b/rpm.macros @@ -108,7 +108,7 @@ if [ -z "${_policytype}" ]; then \ fi \ LOCAL_MODIFICATIONS=$(semanage boolean -E) \ if [ ! -f %_file_custom_defined_booleans ]; then \ - echo "# This file is managed by macros.selinux-policy. Do not edit it manually" > %_file_custom_defined_booleans \ + /bin/echo "# This file is managed by macros.selinux-policy. Do not edit it manually" > %_file_custom_defined_booleans \ fi \ semanage_import='' \ for boolean in %*; do \ @@ -132,7 +132,7 @@ done; \ if %{_sbindir}/selinuxenabled && [ "${SELINUXTYPE}" = "${_policytype}" ]; then \ /bin/echo -e "$semanage_import" | %{_sbindir}/semanage import -S "${_policytype}" \ else \ - echo -e "$semanage_import" | %{_sbindir}/semanage import -S "${_policytype} -N" \ + /bin/echo -e "$semanage_import" | %{_sbindir}/semanage import -S "${_policytype} -N" \ fi \ %{nil} @@ -157,6 +157,6 @@ done; \ if %{_sbindir}/selinuxenabled && [ "${SELINUXTYPE}" = "${_policytype}" ]; then \ /bin/echo -e "$semanage_import" | %{_sbindir}/semanage import -S "${_policytype}" \ else \ - echo -e "$semanage_import" | %{_sbindir}/semanage import -S "${_policytype} -N" \ + /bin/echo -e "$semanage_import" | %{_sbindir}/semanage import -S "${_policytype} -N" \ fi \ %{nil}