summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
Diffstat (limited to 'remote')
-rwxr-xr-xremote/setup-tools.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/remote/setup-tools.sh b/remote/setup-tools.sh
index ecfc7bac..73612ba5 100755
--- a/remote/setup-tools.sh
+++ b/remote/setup-tools.sh
@@ -54,9 +54,11 @@ read_build ()
copyfileswithdependencies ()
{
- [ ! -d $TOOL_DIR/$TOOL/build ] && echo "No build directory for $TOOL found." && return
-
+ [ ! -d build ] && echo "No build directory for $TOOL found." && return
cd build
+
+ [ ! -d $INIT_DIR ] && mkdir $INIT_DIR
+
COPYFILES_LIST="copyfiles.list"
for FILENAME in $REQUIRED_BINARIES
@@ -89,6 +91,7 @@ main () {
cd $TOOL
read_config
read_build
+ setup_git
install_dependencies
fetch_source
build