Skip to content

Commit 02f1373

Browse files
committed
#39 changed the variable name
1 parent 6cfffb4 commit 02f1373

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

01-build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ echo "##### Staging RPM #####"
5656
if [ $DB_VERSION = '21.3.0' ]; then
5757
if [ $DB_EDITION = 'xe' ]; then
5858
DOCKER_FILE=Dockerfile.$DB_EDITION
59-
if [[ $XE_NO_DOWNLOAD =~ (Y|y) ]]; then
59+
if [[ $XE_USE_LOCAL_COPY =~ (Y|y) ]]; then
6060
cd dockerfiles/$DB_VERSION && curl --progress-bar -O file://$FILES_DIR/oracle-database-xe-21c-1.0-1.ol7.x86_64.rpm
6161
sed $SED_OPTS "s|${XE_DOWNLOAD_BASE_URL}||g" ${DOCKER_FILE:-Dockerfile}
6262
sed $SED_OPTS "s|^(COPY)(.+CHECK_SPACE_FILE.+INSTALL_DIR/)$|\1 \$INSTALL_FILE_1\2|g" ${DOCKER_FILE:-Dockerfile}
63-
fi
63+
fi
6464
else
6565
cd dockerfiles/$DB_VERSION && curl --progress-bar -O file://$FILES_DIR/LINUX.X64_213000_db_home.zip
6666
DOCKER_FILE=Dockerfile
@@ -70,7 +70,7 @@ elif [ $DB_VERSION = '19.3.0' ]; then
7070
DOCKER_FILE=Dockerfile
7171
elif [ $DB_VERSION = '18.4.0' ] && [ $DB_EDITION = 'xe' ]; then
7272
DOCKER_FILE=Dockerfile.$DB_EDITION
73-
if [[ $XE_NO_DOWNLOAD =~ (Y|y) ]]; then
73+
if [[ $XE_USE_LOCAL_COPY =~ (Y|y) ]]; then
7474
cd dockerfiles/$DB_VERSION && curl --progress-bar -O file://$FILES_DIR/oracle-database-xe-18c-1.0-1.x86_64.rpm
7575
sed $SED_OPTS "s|${XE_DOWNLOAD_BASE_URL}||g" ${DOCKER_FILE:-Dockerfile}
7676
sed $SED_OPTS "s|^(COPY)(.+CHECK_SPACE_FILE.+INSTALL_DIR/)$|\1 \$INSTALL_FILE_1\2|g" ${DOCKER_FILE:-Dockerfile}

quickstart.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ REST_ENABLED_SQL=Y
7070
RTU_ENABLED=N
7171
SQLDEVWEB=Y
7272
DATABASEAPI=Y
73-
XE_NO_DOWNLOAD=N
73+
XE_USE_LOCAL_COPY=N
7474
EOF
7575

7676
##### Download files #####

settings.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ REST_ENABLED_SQL=Y
3434
RTU_ENABLED=N
3535
SQLDEVWEB=Y
3636
DATABASEAPI=Y
37-
XE_NO_DOWNLOAD=N
37+
XE_USE_LOCAL_COPY=N

0 commit comments

Comments
 (0)