summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/odl_reinstaller.sh
blob: cb34489f0219affa8dcbe0f29e25985da330d86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 )
set -e
export PYTHONPATH=$PYTHONPATH:$DIR
mkdir -p $DIR/tmp
cd $DIR
python ./odl_reinstaller/odl_reinstaller.py $@