diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 08:28:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-04 08:28:13 +0000 |
commit | f4e9b5d3a947ab8027668c4cd8186d06539504a0 (patch) | |
tree | be52419178dbf8c546d952fd81794240a4f7404f | |
parent | 36d446263c772f391041f20e54536a528c787863 (diff) | |
download | abuild-f4e9b5d3a947ab8027668c4cd8186d06539504a0.tar.gz abuild-f4e9b5d3a947ab8027668c4cd8186d06539504a0.tar.bz2 abuild-f4e9b5d3a947ab8027668c4cd8186d06539504a0.tar.xz abuild-f4e9b5d3a947ab8027668c4cd8186d06539504a0.zip |
abuild: fix for abuild -R
we only enter dependencies dirs in same repo
-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 \ |