diff options
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 \ |