summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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