1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-25 10:50:00 -05:00
vsphere-automation-sdk-python/bin/run_sample.sh
2017-03-03 14:04:06 -08:00

14 lines
245 B
Bash
Executable File

#!/bin/bash
SCRIPTDIR=`dirname $0`
cd $SCRIPTDIR
PATHDIR=`pwd`
PROJECT_ROOT=$PATHDIR/..
SRCDIR=$PROJECT_ROOT/
LIBDIR=$PROJECT_ROOT/lib
# add the src directory to the python path
export PYTHONPATH=$PYTHONPATH:$SRCDIR
# run the sample
python $@