Descrease usage of inappropriate variables
Proper environment variables passed into DIB elements should have prefix "DIB_". Change-Id: I646add19a5e1fba603bf4557252cb4cd246c228f
This commit is contained in:
parent
bb00abb587
commit
f927912e92
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user