summaryrefslogtreecommitdiffstats
path: root/dmaap-bc/misc/dmaapbc
diff options
context:
space:
mode:
authorsandovalfr <frank.sandoval@oamtechnologies.com>2019-03-04 12:17:58 -0500
committersandovalfr <frank.sandoval@oamtechnologies.com>2019-03-05 11:53:25 -0500
commit7f7da1e1af9b4a273ce166984ba0113d6355f442 (patch)
treeaec0b33d7ac5e876e4adea0572eb5762db7fc915 /dmaap-bc/misc/dmaapbc
parent80f10c41049ea22e914d4a17652abc1d3b502006 (diff)
small, multi-platform images
Issue-ID: INT-886 Change-Id: I06532dc486641314c4c6e53f509a3d942ca44e52 Signed-off-by: sandovalfr <frank.sandoval@oamtechnologies.com>
Diffstat (limited to 'dmaap-bc/misc/dmaapbc')
-rw-r--r--dmaap-bc/misc/dmaapbc6
1 files changed, 4 insertions, 2 deletions
diff --git a/dmaap-bc/misc/dmaapbc b/dmaap-bc/misc/dmaapbc
index f1e8ae7..76317d8 100644
--- a/dmaap-bc/misc/dmaapbc
+++ b/dmaap-bc/misc/dmaapbc
@@ -52,13 +52,15 @@ config() {
echo "Expected app root directory $APP_ROOT does not exist"
exit 1
fi
+
+ cd $APP_ROOT
if [ ! -f $CONTAINER_CONFIG ]
then
echo "WARNING: Expected env file $CONTAINER_CONFIG not found. Default behaviors in effect"
find $CONTAINER_ROOT -type f
+ else
+ source $CONTAINER_CONFIG
fi
- cd $APP_ROOT
- source $CONTAINER_CONFIG
if [ "$DMAAPBC_WAIT_TO_EXIT" != "Y" ]
then