summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/tripleo_introspector.sh
blob: 1f1772446ff3a5b54a9264d9c311277cae61c884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#
# Copyright (c) 2017 All rights reserved
# This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
#
# http://www.apache.org/licenses/LICENSE-2.0
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
if [ -e ~/stackrc ];then
  . ~/stackrc
fi
set -e
export PYTHONPATH=$PYTHONPATH:$DIR
mkdir -p $DIR/tmp
cd $DIR
python ./tripleo_introspector/tripleo_introspector.py $@