Replace all lib-python python shebangs with pypy

This commit is contained in:
Miro Hrončok 2015-05-05 18:32:38 +02:00
parent 976314ef80
commit 36afc7f791

View File

@ -281,6 +281,11 @@ for f in rpython/translator/goal/bpnn.py ; do
chmod a-x $f
done
# Replace all lib-python python shebangs with pypy
find lib-python/%{pylibver} -name "*.py" -exec \
sed -r -i '1s|^#!\s*/usr/bin.*python.*|#!/usr/bin/%{name}|' \
"{}" \
\;
%build