aboutsummaryrefslogtreecommitdiff
path: root/portal-gui/scripts/helper.in
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2010-07-07 17:36:33 +0000
committerMichael Elkins <melkins@tislabs.com>2010-07-07 17:36:33 +0000
commitd65df76fb0a56fe0e26daa8be63d9599b0ecf29e (patch)
treeb67e26fdc38694b56a8c72312ccc2f856ccc9858 /portal-gui/scripts/helper.in
parentef6584ea48e9ec99271fb0609d41ffb9c87dc9eb (diff)
added configure script to ease installation
svn path=/portal-gui/Makefile.in; revision=3357
Diffstat (limited to 'portal-gui/scripts/helper.in')
-rwxr-xr-xportal-gui/scripts/helper.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/portal-gui/scripts/helper.in b/portal-gui/scripts/helper.in
new file mode 100755
index 00000000..f08c12ef
--- /dev/null
+++ b/portal-gui/scripts/helper.in
@@ -0,0 +1,12 @@
+#!/bin/sh
+# $Id$
+#
+# This is a wrapper script which sets the appropriate environment
+# variables for invoking the portal-gui python scripts.
+#
+# @configure_input@
+
+prefix=@prefix@
+export PYTHONPATH=@MYRPKIDIR@:@datarootdir@/@PACKAGE_NAME@
+export DJANGO_SETTINGS_MODULE=rpkigui.settings
+@PYTHON@ $src/scripts/$0.py $*