Procházet zdrojové kódy

Add missing quote (#33)

plluksie před 6 roky
rodič
revize
0d4fcb1be3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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"