commit b2fcca8d3666a492026304ed460bfdcbb31cbf21
parent 23cd2a124e05aeae5f6bc060a0e218a7b6b111bd
Author: parazyd <parazyd@dyne.org>
Date: Sat, 18 Mar 2017 21:33:18 +0100
fixups
Diffstat:
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/sdk b/sdk
@@ -63,7 +63,7 @@ load() {
)
blend_map=(
- "heads" "https://git.devuan.org/heads/build-system/raw/master/heads.blend"
+ "heads" "$R/../heads.blend"
)
oslib="${os_map[$os]}"
@@ -82,7 +82,11 @@ load() {
[[ -f $blendlib ]] || { warn "no valid blend specified" }
source $oslib
- [[ -f $blendlib ]] && source $blendlib && act "$os blend leaded" && export BLEND=1
+ [[ -f $blendlib ]] && {
+ source $blendlib || zerr
+ act "$os blend leaded"
+ export BLEND=1
+ }
workdir="$R/tmp/${os}-${arch}-build"
strapdir="$workdir/bootstrap"
@@ -98,4 +102,3 @@ TRAPZERR() { zerr; return $? }
notice "live-sdk loaded"
export PROMPT="%F{yellow}%(?..%? )%{$reset_color%}livesdk@%{$fg[red]%}%m %{$reset_color%} %{$fg[blue]%}%#%{$fg_bold[blue]%}%{$reset_color%} "
-