From 6d5cd9dc4bc68022195d922a875972809d392839 Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 4 Jan 2025 09:14:25 +0300 Subject: [PATCH] Fix shebang --- SPECS/WALinuxAgent.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPECS/WALinuxAgent.spec b/SPECS/WALinuxAgent.spec index b26a8ac..6ff6241 100644 --- a/SPECS/WALinuxAgent.spec +++ b/SPECS/WALinuxAgent.spec @@ -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