Check directory

This commit is contained in:
Bob Mottram 2016-07-26 19:29:00 +01:00
parent 0dc5f04fba
commit b07be78a84
1 changed files with 3 additions and 1 deletions

View File

@ -377,7 +377,9 @@ function mesh_tox_node {
$mesh_tox_node_prefix apt-get -y install libconfig9 libconfig-dev autoconf
$mesh_tox_node_prefix apt-get -y install libopus-dev libvpx-dev
if [ ! -d ${rootdir}${INSTALL_DIR} ]; then
mkdir -p ${rootdir}${INSTALL_DIR}
fi
git clone ${TOXCORE_REPO} ${rootdir}${INSTALL_DIR}/toxcore
if [ ! "$?" = "0" ]; then
exit 429252