Skip to content

Commit

Permalink
Fixing issue #2801 (#2802)
Browse files Browse the repository at this point in the history
* Updated runOracle.sh

* Fixing lint error

---------

Co-authored-by: Yunus Qureshi <[email protected]>
  • Loading branch information
aditya059 and yunus-qureshi authored May 15, 2024
1 parent 748f128 commit 007e037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OracleDatabase/SingleInstance/dockerfiles/23.4.0/runOracle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ function moveFiles {
mkdir -p "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/
fi;

mv "$ORACLE_BASE_CONFIG"/dbs/spfile"$ORACLE_SID".ora "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/
mv "$ORACLE_BASE_CONFIG"/dbs/orapw"$ORACLE_SID" "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/
mv "$ORACLE_BASE_CONFIG"/dbs "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/
mv "$ORACLE_HOME"/network/admin/sqlnet.ora "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/
mv "$ORACLE_HOME"/network/admin/listener.ora "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/
mv "$ORACLE_HOME"/network/admin/tnsnames.ora "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/
find "$ORACLE_HOME"/install/ -name ".docker_*" -exec mv {} "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/ \;

# oracle user does not have permissions in /etc, hence cp and not mv
cp /etc/oratab "$ORACLE_BASE"/oradata/dbconfig/"$ORACLE_SID"/

Expand Down

0 comments on commit 007e037

Please sign in to comment.