Skip to content
Snippets Groups Projects
Unverified Commit b14b4b29 authored by Tim Hardeck's avatar Tim Hardeck
Browse files

Use /bin/bash instead of env

parent ac6f710f
No related branches found
No related tags found
No related merge requests found
......@@ -287,6 +287,10 @@ Provides Nano syntax highlighting for icinga2.
%prep
%setup -q -n %{name}-%{version}
# use absolute shebang instead of env on SUSE distributions
%if "%{_vendor}" == "suse"
find . -type f -name '*.sh' -exec sed -i -e 's|\/usr\/bin\/env bash|\/bin\/bash|g' {} \;
%endif
%build
CMAKE_OPTS="-DCMAKE_INSTALL_PREFIX=/usr \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment