Commit e0417082 authored by Allan McRae's avatar Allan McRae
Browse files

makeworld: fix building from community repos



The community repo now has the same layout as the main repos so the
search for PKGBUILDs in the community repo has become broken. Fix that.

Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
parent 9a4c3ec4
...@@ -123,13 +123,7 @@ cd - &>/dev/null ...@@ -123,13 +123,7 @@ cd - &>/dev/null
sd=$(date +"[%b %d %H:%M]") sd=$(date +"[%b %d %H:%M]")
for repo in $*; do for repo in $*; do
if [ "$repo" = "community" ]; then for pkg in $(find "$toplevel/$repo" -maxdepth 1 -mindepth 1 -type d | sort); do
finddepth=2
else
finddepth=1
fi
for pkg in $(find "$toplevel/$repo" -maxdepth $finddepth -mindepth $finddepth -type d | sort); do
cd $pkg cd $pkg
if [ -f PKGBUILD ]; then if [ -f PKGBUILD ]; then
. PKGBUILD . PKGBUILD
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment