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:
Scott McCreary
2008-12-16 15:12:45 +00:00
parent aaa731eca2
commit b87f150ace

View File

@@ -0,0 +1,2 @@
#!/bin/sh
find . -name '*.py' -exec sed -i -e 's|/usr/bin/env|/bin/env|g' {} \;