From f4e9b5d3a947ab8027668c4cd8186d06539504a0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 4 May 2010 08:28:13 +0000 Subject: abuild: fix for abuild -R we only enter dependencies dirs in same repo --- abuild.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'abuild.in') 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 \ -- cgit v1.2.3-60-g2f50