view more/ @ 1391:42ec661e3916

Fix BINARY_PACKAGE_TARBALLS generation: some packages produce no output (zlib used to build dropbear for example), and thus check for an empty list before trying to make a tarball.
author Rob Landley <>
date Fri, 17 Jun 2011 13:00:17 -0500
parents 3e7bf55b1bfb
children b74d36876c0a
line wrap: on
line source


# Run a command with sources/ and an architecture loaded

if [ $# -eq 0 ]
  echo "Usage: [STAGE_NAME=...] more/ ARCH COMMAND..." >&2
  exit 1

. sources/ || exit 1

read_arch_dir "$1"
eval "$@"