Skip to content

Commit

Permalink
fixup! Handle scripts in /usr/bin/
Browse files Browse the repository at this point in the history
  • Loading branch information
me-and committed Nov 6, 2023
1 parent a4aad6a commit d7c4f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-flit.cygport
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ src_install () {
cd "$B"
python_wheel_install

cd "$D"
cd "$D"/usr/bin
sed -ri '1{/^#!/{s/\.exe//;s/python3\.[0-9]+/python3/}}' flit
for v in ${PYTHON_WHEEL_VERSIONS//:/ }; do
sed -r '1{/^#!/{s/python3/python'"$v"'/}}' flit >"flit$v"
Expand Down

0 comments on commit d7c4f10

Please sign in to comment.