From 970be4d530352d382d62aad61bd1a7cc7b6a2331 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Tue, 27 Oct 2020 12:13:07 -0400 Subject: [PATCH] [fix] Change cd to relative Since the script already changes to the correct dir, we can work from relative directories now. --- setup/so-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index e1ba7cf00..2d48f88d8 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -192,7 +192,7 @@ elif [ "$install_type" = 'HELIXSENSOR' ]; then elif [ "$install_type" = 'IMPORT' ]; then is_import=true elif [ "$install_type" = 'ANALYST' ]; then - cd "$(dirname "$0")/../" || exit 255 + cd .. || exit 255 ./so-analyst-install exit 0 fi