Fix a sed command

OBS-URL: https://build.opensuse.org/package/show/science/python-PyCBC?expand=0&rev=3
This commit is contained in:
2020-05-18 15:15:43 +00:00
committed by Git OBS Bridge
parent f215937a62
commit 3ef552e6b5

View File

@@ -46,7 +46,7 @@ of detected sources.
%setup -q -n PyCBC-%{version}
# FOR REAL BINARIES SET HASHBANG TO PYTHON3 DIRECTLY
sed -E -i "1{s|^#\!\s*/usr/bin/env python|#\!/usr/bin/python3}|}" \
sed -E -i "1{s|^#\!\s*/usr/bin/env python|#\!/usr/bin/python3|}" \
bin/pycbc_* \
bin/*/pycbc_*