From b87f150ace950ff58146d47466395daa20ea48ca Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Tue, 16 Dec 2008 15:12:45 +0000 Subject: [PATCH] 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. --- dev-lang/python/fix-haiku.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 dev-lang/python/fix-haiku.sh diff --git a/dev-lang/python/fix-haiku.sh b/dev-lang/python/fix-haiku.sh new file mode 100644 index 000000000..c13f7ddea --- /dev/null +++ b/dev-lang/python/fix-haiku.sh @@ -0,0 +1,2 @@ +#!/bin/sh +find . -name '*.py' -exec sed -i -e 's|/usr/bin/env|/bin/env|g' {} \;