#!/bin/sh # Wrapper around sbuild. The main purpose is to append a # distribution-dependent string like "~ubuntu7.10" to the binary # package version # This script us normally run as "da sbuildhack filename.dsc". # This script will skip dists listed in ./nobuild. usage() { echo "Usage: $0 - ..." >&2 exit 1 } . $(dirname "$0")/debian-versions.sh dist_arch=$1; shift if [ -z "$dist_arch" ]; then usage; fi IFS=- read dist arch <