Explorar o código

Fix typo for platform_url which uses platform_file

Thomas Merkel %!s(int64=7) %!d(string=hai) anos
pai
achega
f0f8b8e0f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      platform-upgrade

+ 1 - 1
platform-upgrade

@@ -93,7 +93,7 @@ if [[ ! -n "${platform_url}" ]]; then
     if [[ ! -n "${md5sums_url}" ]]; then
         md5sums_url="$latest_path/md5sums.txt"
     fi
-    platform_url="$latest_path/$platform_file"
+    platform_url="$latest_path/platform-$version.tgz"
 else
     version="$(expr "$platform_url" : '.*\([0-9]\{8\}T[0-9]\{6\}Z\).*')"
 fi