summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-01 10:09:23 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-08-01 10:09:23 -0300
commit049a81f6764ffb22fa91d1f85626de780e6a9787 (patch)
treedb838d9de3c9f9a3ad82b9e0cad00abb2fa64cc5
parentb612a89c220b722cfd8ac2e51be146eec94a20e8 (diff)
TODO message was already implemented
-rwxr-xr-xtreepkg8
1 files changed, 1 insertions, 7 deletions
diff --git a/treepkg b/treepkg
index 8dab83a..d05f05e 100755
--- a/treepkg
+++ b/treepkg
@@ -166,13 +166,7 @@ if ! ${BUILDNOW}; then
# NOTE: getting depends from package() is a PITA
for _dep in ${deps[@]}; do
-# Ignore if already in build order
-# TODO move deps deeper in the tree if
-# pkgbase - dep1
-# \ dep2 - dep1
-# dep1 should be depth + 1
-# probably sed -i buildorder and increase dep's dep depth :D
-# remember to change dir name from xxx_pkgbase to xxx+1_pkgbase
+# Move the dependency one step deeper in the tree if we were going to build it before
egrep -q ";${_dep};" "${BUILDORDER}" && bury "${_dep}" ${NEXTDEPTH}
# Ask toru where's a PKGBUILD