From 24579e62c98bc71c133c97647cde4de16c1051c8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 29 May 2016 10:06:51 +0100 Subject: [PATCH] More logging of compile --- src/freedombone-image-mesh | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/freedombone-image-mesh b/src/freedombone-image-mesh index 2c37b40f..f21b0a17 100755 --- a/src/freedombone-image-mesh +++ b/src/freedombone-image-mesh @@ -293,17 +293,20 @@ function compile_toxcore { fi cd $INSTALL_DIR/toxcore autoreconf -i - ./configure --enable-daemon --disable-av + ./configure --enable-daemon --disable-av > $INSTALL_DIR/configure_toxcore.txt if [ ! "$?" = "0" ]; then echo $'Unable to configure toxcore' >> $INSTALL_LOG + echo $'See $INSTALL_DIR/configure_toxcore.txt' >> $INSTALL_LOG return fi - make > /root/make_toxcore.txt + rm $INSTALL_DIR/configure_toxcore.txt + make > $INSTALL_DIR/make_toxcore.txt if [ ! "$?" = "0" ]; then - echo $'Unable to make toxcore' >> $INSTALL_LOG - return + echo $'Unable to make toxcore' >> $INSTALL_LOG + echo $'See $INSTALL_DIR/make_toxcore.txt' >> $INSTALL_LOG + return fi - rm /root/make_toxcore.txt + rm $INSTALL_DIR/make_toxcore.txt make install cp /usr/local/lib/libtoxcore* /usr/lib/ @@ -390,12 +393,13 @@ function compile_tox_client { fi cd $INSTALL_DIR/toxic - make > /root/make_toxic.txt + make > $INSTALL_DIR/make_toxic.txt if [ ! -f $INSTALL_DIR/toxic/build/toxic ]; then echo $'Unable to make tox client' >> $INSTALL_LOG + echo $"See $INSTALL_DIR/make_toxic.txt" >> $INSTALL_LOG exit 74872 fi - rm /root/make_toxic.txt + rm $INSTALL_DIR/make_toxic.txt make install if [ ! -f $TOXIC_FILE ]; then echo $"Tox client was not installed to $TOXIC_FILE" >> $INSTALL_LOG