diff --git a/install-linux.sh b/install-linux.sh index 66a24794..2973c35b 100644 --- a/install-linux.sh +++ b/install-linux.sh @@ -2,7 +2,7 @@ # Ensure correct local path. SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -cd $SCRIPT_DIR +cd "$SCRIPT_DIR" # Accidental run prevention if [ -d "SwarmUI" ]; then @@ -26,7 +26,7 @@ wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh chmod +x dotnet-install.sh cd .. -# Note: manual installers that want to avoid home dir, add to both of the below lines: --install-dir $SCRIPT_DIR/.dotnet +# Note: manual installers that want to avoid home dir, add to both of the below lines: --install-dir "$SCRIPT_DIR/.dotnet" ./launchtools/dotnet-install.sh --channel 8.0 --runtime aspnetcore ./launchtools/dotnet-install.sh --channel 8.0 diff --git a/launch-linux.sh b/launch-linux.sh index e5d5c26d..51c6fd55 100755 --- a/launch-linux.sh +++ b/launch-linux.sh @@ -2,7 +2,7 @@ # Ensure correct local path. SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -cd $SCRIPT_DIR +cd "$SCRIPT_DIR" # Add dotnet non-admin-install to path export PATH="$SCRIPT_DIR/.dotnet:~/.dotnet:$PATH" diff --git a/launch-macos.sh b/launch-macos.sh index f8deb734..b948c8b7 100755 --- a/launch-macos.sh +++ b/launch-macos.sh @@ -2,7 +2,7 @@ # Ensure correct local path. SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -cd $SCRIPT_DIR +cd "$SCRIPT_DIR" export DOTNET_CLI_TELEMETRY_OPTOUT=1 diff --git a/update-linuxmac.sh b/update-linuxmac.sh index 2ec35532..72ec7f6e 100755 --- a/update-linuxmac.sh +++ b/update-linuxmac.sh @@ -2,7 +2,7 @@ # Ensure correct local path. SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -cd $SCRIPT_DIR +cd "$SCRIPT_DIR" # Add dotnet non-admin-install to path export PATH="$SCRIPT_DIR/.dotnet:~/.dotnet:$PATH"