diff options
Diffstat (limited to 'portal-gui/scripts/helper.in')
-rwxr-xr-x | portal-gui/scripts/helper.in | 12 |
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 $* |