From e32de3b850c4810db5a0d45dc892668314008ed5 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 21 Jun 2022 20:01:50 +0100 Subject: [PATCH] Updating install script to work from any directory. --- .../integrations/oracle/instantclient/linux/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/server/scripts/integrations/oracle/instantclient/linux/install.sh b/packages/server/scripts/integrations/oracle/instantclient/linux/install.sh index 5c6fe920e6..4662996a44 100755 --- a/packages/server/scripts/integrations/oracle/instantclient/linux/install.sh +++ b/packages/server/scripts/integrations/oracle/instantclient/linux/install.sh @@ -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