Skip to content

Commit

Permalink
build custom telosearchlr-v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jayramr committed Oct 17, 2024
1 parent cd99797 commit fb5d7af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/telosearchlr/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
mkdir -p ${PREFIX}/bin
for f in *.py;
do
sed -i "1i #!/usr/bin/env python3" "$f"
if ! grep -q "^#!/usr/bin/env python3" "$f"; then
sed -i "1i #!/usr/bin/env python3" "$f"
fi
done
chmod +x *.py
mv *.py $PREFIX/bin

0 comments on commit fb5d7af

Please sign in to comment.