Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (15 sloc) 0.563 kb
#!/bin/bash
PYTHON_EXE="/usr/bin/env python -Wignore::DeprecationWarning"
NIMBUS_HOME_REL="`dirname $0`/.."
NIMBUS_HOME=`cd $NIMBUS_HOME_REL; pwd`
export NIMBUS_HOME
NIMBUS_WEBDIR="$NIMBUS_HOME/web"
NIMBUS_PYLIB="$NIMBUS_WEBDIR/lib/python"
NIMBUS_PYSRC="$NIMBUS_WEBDIR/src/python"
PYTHONPATH="$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH"
export PYTHONPATH
source $NIMBUS_HOME/cumulus/env.sh
export CUMULUS_SETTINGS_FILE=$NIMBUS_HOME/cumulus/etc/cumulus.ini
source $NIMBUS_HOME/ve/bin/activate
$PYTHON_EXE $NIMBUS_HOME/libexec/nimbus_import_users.py "$@"
exit $?
Jump to Line
Something went wrong with that request. Please try again.