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 22 lines (15 sloc) 0.843 kb
#!/bin/bash
# -----------------------------------------------------------------------------
HELP_MESSAGE="This program (with no arguments) checks on basic prerequisites for running workspace-control, such as the libvirt Python bindings."
if [ "X$1" == "X-h" ] || [ "X$1" == "X-help" ] || [ "X$1" == "X--help" ] || [ "X$1" == "Xhelp" ]; then
echo -e "$HELP_MESSAGE"
exit 1
fi
# -----------------------------------------------------------------------------
NIMBUS_CONTROL_DIR_REL="`dirname $0`/.."
NIMBUS_CONTROL_DIR=`cd $NIMBUS_CONTROL_DIR_REL; pwd`
NIMBUS_CONTROL_PYLIB="$NIMBUS_CONTROL_DIR/lib/python"
NIMBUS_CONTROL_PYSRC="$NIMBUS_CONTROL_DIR/src/python"
PYTHONPATH="$NIMBUS_CONTROL_PYSRC:$NIMBUS_CONTROL_PYLIB:$PYTHONPATH"
export PYTHONPATH
/usr/bin/env python $NIMBUS_CONTROL_PYSRC/workspacecontrol/sbin/test-dependencies.py
Jump to Line
Something went wrong with that request. Please try again.