mirror of
https://git.icinga.com/packaging/rpm-icinga2.git
synced 2025-09-24 10:37:44 +02:00
Use /bin/bash instead of env
This commit is contained in:
parent
ac6f710f2e
commit
b14b4b2958
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user