diff --git a/mister_updater.sh b/mister_updater.sh index ca7ee6e..2c88452 100755 --- a/mister_updater.sh +++ b/mister_updater.sh @@ -237,7 +237,7 @@ if [ "$SSL_SECURITY_OPTION" == "" ] then if [ "$(grep -v "^#" "${ORIGINAL_SCRIPT_PATH}")" == "curl $CURL_RETRY -ksLf https://github.com/MiSTer-devel/Updater_script_MiSTer/blob/master/mister_updater.sh?raw=true | bash -" ] then - echo "Downloading $(echo $ORIGINAL_SCRIPT_PATH | sed 's/.*\///g')" + echo "Downloading $(sed 's/.*\///' <<< "${ORIGINAL_SCRIPT_PATH}")" echo "" curl $CURL_RETRY $SSL_SECURITY_OPTION -L "https://github.com/MiSTer-devel/Updater_script_MiSTer/blob/master/update.sh?raw=true" -o "$ORIGINAL_SCRIPT_PATH" fi