plluksie преди 6 години
родител
ревизия
0d4fcb1be3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      platform-upgrade

+ 1 - 1
platform-upgrade

@@ -111,7 +111,7 @@ fi
 if [[ ! -n $platform_url ]]; then
     host=https://us-east.manta.joyent.com
     latest_path="${host}$(_curl "$host/Joyent_Dev/public/SmartOS/latest")"
-    version="$(expr "$latest_path" : '.*\([0-9]\{8\}T[0-9]\{6\}Z\).*')
+    version="$(expr "$latest_path" : '.*\([0-9]\{8\}T[0-9]\{6\}Z\).*')"
     latest_spec_path="$(_curl "$host/Joyent_Dev/public/SmartOS/$version")"
     header="$(expr "$latest_spec_path" : '.*platform-release-\([0-9]\{8\}\)-.*')"
     platform_url="$latest_path/platform-release-$header-$version.tgz"