diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-04-11 21:46:57 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-04-11 21:46:57 -0400 |
| commit | b77bcf24e36354a29aa01731f0bb09c6a44bcad2 (patch) | |
| tree | b195e52aa78a35ff8fc0c66f56a032ac486527ae | |
| parent | 65952b84084e94cff6f369ebfee94133ed55fe88 (diff) | |
| download | min-b77bcf24e36354a29aa01731f0bb09c6a44bcad2.tar.gz min-b77bcf24e36354a29aa01731f0bb09c6a44bcad2.tar.xz | |
Fixed a few errors while checking my work
| -rw-r--r-- | inc | 1 | ||||
| -rw-r--r-- | scripts/build.sh | 1 | ||||
| -rw-r--r-- | scripts/get_sources.sh | 5 |
3 files changed, 4 insertions, 3 deletions
@@ -7,6 +7,7 @@ dist_dir="$(pwd)/distfiles" build_dir="$(pwd)/build" if ! [ -d $build_dir ] ; then mkdir $build_dir; fi +if ! [ -d $dist_dir ] ; then mkdir $dist_dir; fi if ! [ -d $prefix ] ; then mkdir $prefix; fi # Reset our PATH diff --git a/scripts/build.sh b/scripts/build.sh index c96f1cb..f98e0a8 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,6 @@ #!/bin/sh shell="/bin/sh" +set -e $shell scripts/musl.sh $shell scripts/mksh.sh $shell scripts/sbase.sh diff --git a/scripts/get_sources.sh b/scripts/get_sources.sh index 946c288..8abca86 100644 --- a/scripts/get_sources.sh +++ b/scripts/get_sources.sh @@ -1,7 +1,6 @@ #!/bin/sh -set -e -set -x +. ./.vars cd ${dist_dir} -wget -i sources.lst +wget -i ${base_dir}/sources.lst git clone git://git.suckless.org/sbase git clone git://git.suckless.org/ubase |
