Fix shebang

i10-beta changed/i10-beta/WALinuxAgent-2.9.1.1-7.el10.inferit
Arkady L. Shane 2 weeks ago
parent 4673f662d3
commit 6d5cd9dc4b
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -84,7 +84,7 @@ rm -rf %{buildroot}/%{python3_sitelib}/tests
rm -rf %{buildroot}/%{python3_sitelib}/__main__.py
rm -rf %{buildroot}/%{python3_sitelib}/__pycache__/__main__*.py*
sed -i 's,#!/usr/bin/env python,#!/usr/bin/python3,' %{buildroot}%{_sbindir}/waagent
sed -i 's,#!/usr/bin/env python,#!/usr/bin/python,' %{buildroot}%{_sbindir}/waagent
%if 0%{?with_legacy}
sed -i 's,#!/usr/bin/env python,#!/usr/bin/python2,' %{buildroot}%{_sbindir}/waagent2.0
%else

Loading…
Cancel
Save