Bob Mottram 7 år sedan
förälder
incheckning
163e2188c7
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      src/freedombone-app-tox

+ 2
- 1
src/freedombone-app-tox Visa fil

@@ -686,7 +686,7 @@ function mesh_tox_client {
686 686
     echo '    git pull' >> $TEMP_SCRIPT
687 687
     echo 'else' >> $TEMP_SCRIPT
688 688
     echo "    git clone $TOXIC_REPO $INSTALL_DIR/toxic" >> $TEMP_SCRIPT
689
-    echo 'fi'
689
+    echo 'fi' >> $TEMP_SCRIPT
690 690
     echo "cd $INSTALL_DIR/toxic" >> $TEMP_SCRIPT
691 691
     echo "git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT" >> $TEMP_SCRIPT
692 692
     echo 'make' >> $TEMP_SCRIPT
@@ -707,6 +707,7 @@ function mesh_tox_client {
707 707
         /root/$TEMP_SCRIPT_NAME
708 708
     fi
709 709
     if [ ! "$?" = "0" ]; then
710
+        cat -n /root/fbtmp728353.sh
710 711
         duration=$SECONDS
711 712
         echo $"Toxic client compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."
712 713
         echo $'Unable to make tox client'