diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-08 21:24:56 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-08 21:24:56 +0100 |
commit | 15461df2e840263cefb88f7611953d167b883238 (patch) | |
tree | 0624425710a0f3e2b811bf24a1cc0e8f157e8a26 /include | |
parent | b525833f42ddb15b00222838cde79d6378d38c0e (diff) | |
parent | a3ba8acface32900a524cf0ab429cadcd99577bc (diff) |
Merge branch 'master' into 25.04_branch
Diffstat (limited to 'include')
-rw-r--r-- | include/init.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/init.sh b/include/init.sh index d2db0236..b9cb81b1 100644 --- a/include/init.sh +++ b/include/init.sh @@ -134,7 +134,8 @@ xbmk_set_env() xbmkcache="`findpath "$XBMK_CACHE"`" || \ err "Can't resolve cachedir: '$XBMK_CACHE'" export XBMK_CACHE="$xbmkcache" - [ -d "$XBMK_CACHE" ] || err "cachedir '$XBMK_CACHE' is a file"; : + [ ! -e "$XBMK_CACHE" ] || \ + [ -d "$XBMK_CACHE" ] || err "cachedir '$XBMK_CACHE' is a file"; : # if "y": a coreboot target won't be built if target.cfg says release="n" # (this is used to exclude certain build targets from releases) |