Browse Source

Add output every 100 lines to install scripts

Alex Schneider 10 years ago
parent
commit
7c0089107e

+ 3 - 2
toolset/setup/linux/languages/mono.sh

@@ -24,8 +24,9 @@ fw_untar mono-3.6.0.tar.bz2
 cd mono-3.6.0
 ./autogen.sh --prefix=$IROOT/mono-3.6.0-install
 # make -j4 EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/basic.exe
-make -j4 | grep -i "error"
-make install | grep -i "error"
+echo -n "Installing Mono"
+make -j4 | awk '{ if (NR%100 == 0) printf "."}'
+make install | awk '{ if (NR%100 == 0) printf "."}'
 
 echo "Installing RootCAs from Mozilla..."; 
 mozroots --import --sync;

+ 3 - 2
toolset/setup/linux/languages/python2.sh

@@ -8,8 +8,9 @@ fw_untar Python-2.7.8.tgz
 pre=$(pwd)
 cd Python-2.7.8
 ./configure --prefix=${pre}/py2 --disable-shared --quiet
-make -j4 --quiet | grep -i "error"
-make install --quiet | grep -i "error"
+echo -n "Installing Python 2"
+make -j4 --quiet | awk '{ if (NR%100 == 0) printf "."}'
+make install --quiet | awk '{ if (NR%100 == 0) printf "."}'
 cd ..
 
 if [ ! -f "get-pip.py" ]; then

+ 3 - 2
toolset/setup/linux/languages/python3.sh

@@ -8,8 +8,9 @@ fw_untar Python-3.4.1.tar.xz
 pre=$(pwd)
 cd Python-3.4.1
 ./configure --prefix=${pre}/py3 --disable-shared --quiet
-make -j4 --quiet | grep -i "error"
-make install --quiet | grep -i "error"
+echo -n "Installing Python 3"
+make -j4 --quiet | awk '{ if (NR%100 == 0) printf "."}'
+make install --quiet | awk '{ if (NR%100 == 0) printf "."}'
 cd ..
 
 if [ ! -f "get-pip.py" ]; then