Missing fi

This commit is contained in:
Bob Mottram 2017-06-17 15:20:43 +01:00
parent 01e8e2dee0
commit 163e2188c7
1 changed files with 2 additions and 1 deletions

View File

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