Browse code

Merge "wget less verbose"

Jenkins authored on 2015/01/14 06:49:11
Showing 1 changed files
... ...
@@ -42,7 +42,7 @@ function upload_image {
42 42
     if [[ $image_url != file* ]]; then
43 43
         # Downloads the image (uec ami+akistyle), then extracts it.
44 44
         if [[ ! -f $FILES/$image_fname || "$(stat -c "%s" $FILES/$image_fname)" = "0" ]]; then
45
-            wget -c $image_url -O $FILES/$image_fname
45
+            wget --progress=dot:giga -c $image_url -O $FILES/$image_fname
46 46
             if [[ $? -ne 0 ]]; then
47 47
                 echo "Not found: $image_url"
48 48
                 return
... ...
@@ -116,7 +116,7 @@ function upload_image {
116 116
             if [[ $flat_url != file* ]]; then
117 117
                 if [[ ! -f $FILES/$flat_fname || \
118 118
                 "$(stat -c "%s" $FILES/$flat_fname)" = "0" ]]; then
119
-                    wget -c $flat_url -O $FILES/$flat_fname
119
+                    wget --progress=dot:giga -c $flat_url -O $FILES/$flat_fname
120 120
                 fi
121 121
                 image="$FILES/${flat_fname}"
122 122
             else