[fix] Change cd to relative

Since the script already changes to the correct dir, we can work from relative directories now.
This commit is contained in:
William Wernert
2020-10-27 12:13:07 -04:00
parent 5054138be9
commit 970be4d530

View File

@@ -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