summaryrefslogtreecommitdiff
path: root/toru-path
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-05 16:48:28 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-05 16:48:28 -0300
commit48696038cec8f4cef0152d356b05d40c585a20b5 (patch)
tree60dd976565e311d39daa8eb650efd5a88bada0f2 /toru-path
parent4e5c5c74108718b08a021991b314d6a68d829544 (diff)
Skip unexistent repos
Diffstat (limited to 'toru-path')
-rwxr-xr-xtoru-path2
1 files changed, 2 insertions, 0 deletions
diff --git a/toru-path b/toru-path
index 957f49b..baeaeb5 100755
--- a/toru-path
+++ b/toru-path
@@ -22,6 +22,8 @@ fi
fullrepos=()
for (( i = ${#REPOS[@]}-1 ; i >= 0 ; i-- )); do
${VERBOSE} && msg "Processing [%s]" ${REPOS[$i]}
+
+ [ -d "${ABSROOT}${REPOS[$i]}" ] && \
fullrepos+=("${ABSROOT}${REPOS[$i]}")
done
pkgbuilds=($(get_pkgbuilds ${fullrepos[@]}))