Skip to content

Commit

Permalink
Replace all lib-python python shebangs with pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
hroncok committed May 5, 2015
1 parent 976314e commit 36afc7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pypy3.spec
Expand Up @@ -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

Expand Down

0 comments on commit 36afc7f

Please sign in to comment.