Descrease usage of inappropriate variables

Proper environment variables passed into DIB elements should have prefix
"DIB_".

Change-Id: I646add19a5e1fba603bf4557252cb4cd246c228f
This commit is contained in:
Dmitry Bogun 2016-12-29 17:53:02 +02:00
parent bb00abb587
commit f927912e92
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ RELEASE_FILE=/etc/bareon-release
SCRIPTDIR=$(dirname $0)
install-packages python-setuptools python-pip python-dev
if [ -n ${BAREON_SRC-""} ] ; then
if [ -d /tmp/bareon/.git ] ; then
cd /tmp/bareon
pip install --upgrade setuptools
pip install -r requirements.txt && python setup.py install

View File

@ -6,7 +6,7 @@ fi
set -eu
set -o pipefail
if [ -n ${BAREON_SRC-""} ] ; then
if [ -n "$BAREON_SRC" ] ; then
git clone -b $BAREON_BRANCH $BAREON_SRC $TARGET_ROOT/tmp/bareon
cd $TARGET_ROOT/tmp/bareon