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 6173bb6f3b2c
children b89324905ca2
line wrap: on
line source


# Run native build out of build directory, using if
# available.


X=$(readlink -f "$2" 2>/dev/null)
if [ -z "$X" ]
  echo "No control image $2" >&2
  exit 1

cd build/system-image-"$1" && ./ "$X"