Fix a sed command
OBS-URL: https://build.opensuse.org/package/show/science/python-PyCBC?expand=0&rev=3
This commit is contained in:
@@ -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_*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user