소스 검색

Add missing quote (#33)

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"