diff options
-rw-r--r-- | include/init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/init.sh b/include/init.sh index 1bf52eef..1a01de45 100644 --- a/include/init.sh +++ b/include/init.sh @@ -131,7 +131,7 @@ xbmk_set_env() [ -L "$XBMK_CACHE" ] && [ "$XBMK_CACHE" = "$xbmkpwd/cache" ] && \ err "cachedir '$xbmkpwd/cache' is a symlink" [ -L "$XBMK_CACHE" ] && export XBMK_CACHE="$xbmkpwd/cache" - [ -f "$XBMK_CACHE" ] && err "cachedir '$XBMK_CACHE' is a file"; : + [ -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) |