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