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
sd=$(date +"[%b %d %H:%M]")
for repo in $*; do
if [ "$repo" = "community" ]; then
finddepth=2
else
finddepth=1
fi
for pkg in $(find "$toplevel/$repo" -maxdepth $finddepth -mindepth $finddepth -type d | sort); do
for pkg in $(find "$toplevel/$repo" -maxdepth 1 -mindepth 1 -type d | sort); do
cd $pkg
if [ -f PKGBUILD ]; then
. 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