Updating install script to work from any directory.
This commit is contained in:
parent
5020bf5f0f
commit
2455ede4a4
|
@ -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