#!/bin/sh if test -z "$1"; then echo usage: $0 pkgpath 1>&2 exit 1 fi set -e -x . ./prepare-env ./build "$1"