Mercurial > hg > aboriginal
view more/test.sh @ 1252:ba951c11fb48
Refactor the gentoo bootstrap build some more. Add "build" and "files" subdirectories, split each package build into a separate file, break out reusable shell functions into functions.sh. Flow control now init chrooting into run-build-stages.sh calling the individual package scripts.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 25 Sep 2010 13:40:04 -0500 |
parents | 3e7bf55b1bfb |
children | b74d36876c0a |
line wrap: on
line source
#!/bin/bash # Run a command with sources/include.sh and an architecture loaded if [ $# -eq 0 ] then echo "Usage: [STAGE_NAME=...] more/test.sh ARCH COMMAND..." >&2 exit 1 fi . sources/include.sh || exit 1 read_arch_dir "$1" shift eval "$@"