Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
anki-code authored Sep 26, 2020
1 parent b08737a commit 2d44118
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if [ -x "$(command -v pip)" ]; then
# Fix python shebang
pypath=`readlink -f $(which python)`
if [ -d "$build_dir/home/.local/bin" ]; then
echo 'Fix PyPi packages shebang'
sed -i '1s|#!'$pypath'|#!/usr/bin/env python|' $build_dir/home/.local/bin/*
fi

Expand Down

0 comments on commit 2d44118

Please sign in to comment.