Skip to content

Commit 4cfb9d2

Browse files
committed
Fix for #37
1 parent 64bf38b commit 4cfb9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

01-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fi
9999
# Retain the DBUA to allow DB patching. See https://github.com/oracle/docker-images/issues/1187
100100
if [[ $ALLOW_DB_PATCHING =~ (Y|y) ]]; then
101101
echo "##### Preventing removal of DBUA #####"
102-
find dockerfiles -name installDBBinaries.sh -exec sed $SED_OPTS "s|^(rm.+dbua.+)$|#\1|g" {} \;
102+
find dockerfiles -name installDBBinaries.sh -exec sed $SED_OPTS "s|^(\s*?rm.+ORACLE_HOME.+)$|#\1|g" {} \;
103103
fi
104104

105105
echo "##### Building Docker Image for Oracle Database ${DB_VERSION} ${DB_EDITION} #####"

0 commit comments

Comments
 (0)