Updating install script to work from any directory.
This commit is contained in:
parent
5020bf5f0f
commit
2455ede4a4
|
@ -1,9 +1,10 @@
|
|||
#!/bin/bash
|
||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]:-$0}"; )" &> /dev/null && pwd 2> /dev/null; )"
|
||||
if [[ $TARGETARCH == arm* ]] ;
|
||||
then
|
||||
echo "Installing ARM Oracle instant client..."
|
||||
arm64/install.sh
|
||||
$SCRIPT_DIR/arm64/install.sh
|
||||
else
|
||||
echo "Installing x86-64 Oracle instant client..."
|
||||
x86-64/install.sh
|
||||
$SCRIPT_DIR/x86-64/install.sh
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue