termux-play-store / termux-apps

Source for the Termux build on Google Play.
https://play.google.com/store/apps/details?id=com.termux
Other
79 stars 5 forks source link

invalid UTF-8 encoding when running shfmt #34

Closed rowheel closed 2 months ago

rowheel commented 2 months ago

Problem description

$ shfmt
/data/data/com.termux/files/usr/bin/shfmt:1:9: invalid UTF-8 encoding

Steps to reproduce the behavior.

$ apt-get install shfmt
$ shfmt

What is the expected behavior?

No response

System information

fornwall commented 2 months ago

Thanks for reporting!

This should now be fixed in version 3.8.0-1 of the shfmt package - can you try updating with pkg up and check that it works as expected?

rowheel commented 2 months ago

Yes, it's working as expected. Thanks for updating and I'm closing this issue.