Skip to content

Commit

Permalink
Update build-with-pip.file
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Sep 5, 2021
1 parent 0e0d104 commit aff6168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-with-pip.file
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if [ -d %{i}/bin ] ; then
fi
%{?PipPostBuild:%PipPostBuild}
if [ -d %{i}/bin ] ; then
for s in $(grep -IR '^#!.*' %{i}/bin) ; do
for s in $(grep -IRHl '^#!.*' %{i}/bin) ; do
perl -p -i -e "s|^#!.*python.*|#!/usr/bin/env python3|;s| %{cmsroot}/.*python3 | python3 |" $s
done
fi
Expand Down

0 comments on commit aff6168

Please sign in to comment.