Install dir

This commit is contained in:
Bob Mottram 2016-04-12 15:13:40 +01:00
parent c4ef5b707d
commit 2c0fd8cfa0
1 changed files with 5 additions and 0 deletions

View File

@ -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