22 Mar
2018
22 Mar
'18
23:28
On 03/22/2018 10:39 AM, Sébastien 'sogal' Poher wrote:
sed -i 's|/usr/bin/env\ python|/usr/bin/python2|1' %{buildroot}/%{_bindir}/%{name} __________________________________________________^
I've never seen '1' after the 's' command; what should that do? You probably want to do that only in line 1 - so putting the address /before/ the 's' command: sed -i '1 s|/usr/bin/env\ python|/usr/bin/python2|' %{buildroot}/%{_bindir}/%{name} Have a nice day, Berny -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org