Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 567c284

Browse files
committed
Changes on start_db script.
1 parent 3a7c2ca commit 567c284

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis/start_db.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
# Oracle 12c R1 SE
5-
if [ $ORACLE_VERSION = $ORACLE_12cR1SE ]; then
5+
if [ "$ORACLE_VERSION" == "$ORACLE_12cR1SE" ]; then
66
docker login -u "$DOCKER_12cR1SE_USER" -p "$DOCKER_12cR1SE_PASS"
77
docker pull viniciusam/oracle-12c-r1-se
88
docker run -d --name $ORACLE_VERSION -p 1521:1521 viniciusam/oracle-12c-r1-se
@@ -11,7 +11,7 @@ if [ $ORACLE_VERSION = $ORACLE_12cR1SE ]; then
1111
fi
1212

1313
# Oracle 11g R2 XE
14-
if [ $ORACLE_VERSION = $ORACLE_11gR2XE ]; then
14+
if [ "$ORACLE_VERSION" == "$ORACLE_11gR2XE" ]; then
1515
docker login -u "$DOCKER_11gR2XE_USER" -p "$DOCKER_11gR2XE_PASS"
1616
docker pull vavellar/oracle-11g-r2-xe
1717
docker run -d --name $ORACLE_VERSION --shm-size=1g -p 1521:1521 vavellar/oracle-11g-r2-xe

0 commit comments

Comments
 (0)