mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 05:40:07 +02:00
Start of a script to fix python files that default to /usr/bin/env where haiku needs them to be just /bin/env. This will need tweaking as the execute settings on files needs to be reset after running this script, so a fix for that will need to be added to this. Probably just a simple chmod 644 *.py on the affected directories.
This commit is contained in:
2
dev-lang/python/fix-haiku.sh
Normal file
2
dev-lang/python/fix-haiku.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
find . -name '*.py' -exec sed -i -e 's|/usr/bin/env|/bin/env|g' {} \;
|
||||
Reference in New Issue
Block a user