diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-04-15 15:01:45 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-04-15 15:01:45 -0400 |
| commit | 104f042ddbef56e323b61353fceeb5fd3dae5556 (patch) | |
| tree | 3138009b987133ca82c17da4aeb87e97eacc6635 /scripts/sbase.sh | |
| parent | 6fa2b7b7011b709d7fd470c3dcaacfe7c10cf28e (diff) | |
| download | min-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/sbase.sh')
| -rw-r--r-- | scripts/sbase.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/sbase.sh b/scripts/sbase.sh index 749d557..cf6714a 100644 --- a/scripts/sbase.sh +++ b/scripts/sbase.sh @@ -1,7 +1,10 @@ #!/bin/sh . ./.vars export DESTDIR=$prefix -git clone --depth=1 ${dist_dir}/sbase ${build_dir}/sbase +BUILD_DIR="${build_dir}/sbase" +if ! [ -d "$BUILD_DIR" ] ; then + git clone --depth=1 ${dist_dir}/sbase "$BUILD_DIR" +fi cd $build_dir/sbase cp config.mk config.mk.bak sed \ |
