commit e7ced04ab7e356f553cb22b3fd1ecb91a2b2230e parent 86759dae594aa3347fa98b81ff17b06c3e12db2e Author: lostd <lostd@2f30.org> Date: Wed, 5 Feb 2014 14:43:01 +0200 Wildcards are safer than ls(1) output Diffstat:
M | stage0 | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/stage0 b/stage0 @@ -50,11 +50,10 @@ build_pkg_deps() { } build_pkg() { - build_pkg_deps $1 && ./build pkgs/$1 + build_pkg_deps $1 && ./build $1 } # Build stage0 packages -pkglist=$(ls pkgs) -for pkg in $pkglist; do +for pkg in pkgs/*; do build_pkg $pkg done