From c237bfb8c536078dd60dc70671379f0ada5368d2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 20 Apr 2018 19:24:43 +0100 Subject: [PATCH] condition --- src/freedombone-app-tox | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index 3b829c38..f8cf7ca2 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -717,8 +717,7 @@ function mesh_tox_client { echo "cd $INSTALL_DIR/toxic"; echo "git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT"; echo "export DISABLE_DESKTOP_NOTIFY=$toxic_disable_notify"; - echo 'make'; - echo 'if [ ! "$?" = "0" ]; then'; + echo 'if ! make; then'; echo ' exit 1'; echo 'fi'; echo 'make install';