[yt-svn] commit/yt: ngoldbaum: Redirects readline install log data from stdout to the log file.

Bitbucket commits-noreply at bitbucket.org
Wed Feb 1 08:18:38 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/24b60f64c4aa/
changeset:   24b60f64c4aa
branch:      yt
user:        ngoldbaum
date:        2012-01-31 04:45:29
summary:     Redirects readline install log data from stdout to the log file.
affected #:  1 file

diff -r db7553299ae6168ec4ca26e1d4f3548872e993e3 -r 24b60f64c4aab5d88f0d14881164f0c830962ee0 doc/install_script.sh
--- a/doc/install_script.sh
+++ b/doc/install_script.sh
@@ -557,10 +557,10 @@
 touch done
 cd $MY_PWD
 
-if !(${DEST_DIR}/bin/python2.7 -c "import readline")
+if !(${DEST_DIR}/bin/python2.7 -c "import readline" >> ${LOG_FILE})
 then
     echo "Installing pure-python readline"
-    ${DEST_DIR}/bin/pip install readline
+    ${DEST_DIR}/bin/pip install readline 1>> ${LOG_FILE}
 fi
 
 if [ $INST_ENZO -eq 1 ]

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list