summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/abuild.in b/abuild.in
index df16440..18ae43f 100755
--- a/abuild.in
+++ b/abuild.in
@@ -851,8 +851,10 @@ builddeps() {
# i = pkg:dir
local dir=${i#*:}
local pkg=${i%:*}
- msg "Entering $dir"
- cd "$dir" && $0 -k -r apkcache || return 1
+ if [ -d "$dir" ]; then
+ msg "Entering $dir"
+ cd "$dir" && $0 -k -r apkcache || return 1
+ fi
done
$SUDO apk add -u --repository "$apkcache" \
--wait 30 \