Skip to content

Commit

Permalink
updated install_oracle_sqlcl.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Oct 13, 2024
1 parent b01c012 commit adc341b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions install/install_oracle_sqlcl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ if ! [ -e "$stub_script" ]; then
cat > "$stub_script" <<EOF
#!/usr/bin/env bash
set -euo pipefail
cd "$install_base/sqlcl/bin"
./sql
#cd "$install_base/sqlcl/bin"
#./sql "\$@"
"$install_base/sqlcl/bin/sql" "\$@"
EOF
chmod +x "$stub_script"
echo
Expand All @@ -108,4 +109,5 @@ echo
#timestamp "Don't forget to add /usr/local/sqlcl/bin to your \$PATH and check for clashes with other programs called 'sql' in your path (GNU Parallels puts one in /usr/local/bin/ for example)"
timestamp "Call SQLcl as 'sqlcl' which should be in your \$PATH now"
echo
sqlcl --help
echo "SQLcl version:"
sqlcl -version

0 comments on commit adc341b

Please sign in to comment.