Browse code

mute useless console output, when run ./stack.sh

Run ./stack.sh will dump ~400 lines of information, because of
tar xvfz pip-*.tar.gz, and python setup.py install.

We'd better mute stdout for the two steps, to make console cleaner

Change-Id: Icf87947e020acb48d8cbe4cdcc1641f060e50f6d

DennyZhang authored on 2013/10/11 14:12:22
Showing 1 changed files
... ...
@@ -72,9 +72,9 @@ function install_get_pip() {
72 72
 function install_pip_tarball() {
73 73
     (cd $FILES; \
74 74
         curl -O $PIP_TAR_URL; \
75
-        tar xvfz pip-$INSTALL_PIP_VERSION.tar.gz; \
75
+        tar xvfz pip-$INSTALL_PIP_VERSION.tar.gz 1>/dev/null; \
76 76
         cd pip-$INSTALL_PIP_VERSION; \
77
-        sudo python setup.py install; \
77
+        sudo python setup.py install 1>/dev/null; \
78 78
     )
79 79
 }
80 80