matrix build directory

This commit is contained in:
Bob Mottram 2016-12-30 16:39:38 +00:00
parent 30b3989951
commit 3653430413
1 changed files with 4 additions and 1 deletions

View File

@ -303,7 +303,10 @@ function install_matrix {
cd /etc/matrix
git checkout $MATRIX_COMMIT -b $MATRIX_COMMIT
set_completion_param "matrix commit" "$MATRIX_COMMIT"
pip install --upgrade --process-dependency-links .
if [ ! -d $INSTALL_DIR/matrix ]; then
mkdir -p $INSTALL_DIR/matrix
fi
pip install --upgrade --process-dependency-links . -b $INSTALL_DIR/matrix
if [ ! "$?" = "0" ]; then
exit 782542
fi