Install dir
This commit is contained in:
parent
c4ef5b707d
commit
2c0fd8cfa0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue