summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-10-09 16:02:14 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-10-09 16:02:14 -0300
commit9b450c03a954af3ed9b861cf212b6c3e0e804a8b (patch)
treee5d8ce8d9bda91f39fdbf551643b5f5a4f35a467
parent430d265dacd0dcbd6724342f5c79f52a9865f6a8 (diff)
Cleanup version check
-rwxr-xr-xaur4
1 files changed, 3 insertions, 1 deletions
diff --git a/aur b/aur
index 35783c5..ca7d587 100755
--- a/aur
+++ b/aur
@@ -76,9 +76,11 @@ for _pkg in ${@}; do
fi
for _dep in ${depends[@]} ${makedepends[@]}; do
+ _dep=${_dep/[<>=]*/}
if ! is_built $_dep; then
if ! find ${ABSROOT} -maxdepth 2 -type d -name "$_dep" | egrep "*" >/dev/null ; then
- missing_deps=(${missing_deps} $_dep)
+ msg2 "$_dep will be get from AUR"
+ missing_deps+=($_dep)
fi
else
msg2 "$_dep is on repos"