summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/boa-constructor/files/boa-constructor-0.6.1')
-rw-r--r--dev-util/boa-constructor/files/boa-constructor-0.6.110
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-util/boa-constructor/files/boa-constructor-0.6.1 b/dev-util/boa-constructor/files/boa-constructor-0.6.1
new file mode 100644
index 000000000000..e952920035e8
--- /dev/null
+++ b/dev-util/boa-constructor/files/boa-constructor-0.6.1
@@ -0,0 +1,10 @@
+#!/bin/sh
+# $Header: /var/cvsroot/gentoo-x86/dev-util/boa-constructor/files/boa-constructor-0.6.1,v 1.1 2007/12/04 03:50:06 dirtyepic Exp $
+
+# This is a bit of a kludge, but works.
+# If anyone can think of a better way to start Boa, feel free to
+# modify.
+
+pv=`python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:'`
+cd /usr/lib/python"${pv}"/site-packages/boa
+exec /usr/bin/python Boa.py -W 2.6