aboutsummaryrefslogtreecommitdiff
path: root/scripts/ubase.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-04-15 15:01:45 -0400
committerMitch Riedstra <mitch@riedstra.us>2018-04-15 15:01:45 -0400
commit104f042ddbef56e323b61353fceeb5fd3dae5556 (patch)
tree3138009b987133ca82c17da4aeb87e97eacc6635 /scripts/ubase.sh
parent6fa2b7b7011b709d7fd470c3dcaacfe7c10cf28e (diff)
downloadmin-104f042ddbef56e323b61353fceeb5fd3dae5556.tar.gz
min-104f042ddbef56e323b61353fceeb5fd3dae5556.tar.xz
Added kernel config and many more scripts
Altered scripts to allow for rebuilding wihout deleting the `build` folder. Added ncurses and vim to the build. Also added initial version of runit Still need to make sure that get_sources and distfiles are properly gathered from the script soon
Diffstat (limited to 'scripts/ubase.sh')
-rw-r--r--scripts/ubase.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/ubase.sh b/scripts/ubase.sh
index 36bc064..8a6844a 100644
--- a/scripts/ubase.sh
+++ b/scripts/ubase.sh
@@ -1,7 +1,10 @@
#!/bin/sh
. ./.vars
export DESTDIR=$prefix
-git clone ${dist_dir}/ubase ${build_dir}/ubase
+BUILD_DIR="${build_dir}/ubase"
+if ! [ -d "$BUILD_DIR" ] ; then
+ git clone ${dist_dir}/ubase "$BUILD_DIR"
+fi
cd ${build_dir}/ubase
cp config.mk config.mk.bak
sed \