diff --git a/src/freedombone-mesh-install b/src/freedombone-mesh-install index 1c7e1ecd..06b467af 100755 --- a/src/freedombone-mesh-install +++ b/src/freedombone-mesh-install @@ -71,6 +71,9 @@ ZERONET_REPO= ZERONET_COMMIT= ZERONET_PORT= +# Directory where source code is downloaded and compiled +INSTALL_DIR=$HOME/build + function show_help { echo '' echo $"${PROJECT_NAME}-mesh-install -f [function] -r [rootdir]" @@ -592,6 +595,8 @@ function mesh_tox_client { $CHROOT_PREFIX git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT if ! grep -q "Toxic commit" $rootdir$COMPLETION_FILE; then echo "Toxic commit:$TOXIC_COMMIT" >> $rootdir$COMPLETION_FILE + else + sed -i "s|Toxic commit.*|Toxic commit:$TOXIC_COMMIT|g" $rootdir$COMPLETION_FILE fi $CHROOT_PREFIX make