summaryrefslogtreecommitdiffstats
path: root/remote/setup-tools.sh
diff options
context:
space:
mode:
authorMichael Neves2012-09-28 16:50:14 +0200
committerMichael Neves2012-09-28 16:50:14 +0200
commit7b96c6efc41269e0a15a957b493555f45da488b6 (patch)
treeb94688e201ec15f0d506b9f061e320177f1f071e /remote/setup-tools.sh
parentbusybox fix 1 (diff)
downloadtm-scripts-7b96c6efc41269e0a15a957b493555f45da488b6.tar.gz
tm-scripts-7b96c6efc41269e0a15a957b493555f45da488b6.tar.xz
tm-scripts-7b96c6efc41269e0a15a957b493555f45da488b6.zip
create initramfs folder
Diffstat (limited to 'remote/setup-tools.sh')
-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