summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-04 08:28:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-04 08:28:13 +0000
commitf4e9b5d3a947ab8027668c4cd8186d06539504a0 (patch)
treebe52419178dbf8c546d952fd81794240a4f7404f
parent36d446263c772f391041f20e54536a528c787863 (diff)
downloadabuild-f4e9b5d3a947ab8027668c4cd8186d06539504a0.tar.bz2
abuild-f4e9b5d3a947ab8027668c4cd8186d06539504a0.tar.xz
abuild: fix for abuild -R
we only enter dependencies dirs in same repo
-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 \