#!/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 } : ${DA_SCRIPTS_DIR="$(dirname "$0")"} . "$DA_SCRIPTS_DIR"/debian-versions.sh dist_arch=$1; shift if [ -z "$dist_arch" ]; then usage; fi IFS=- read dist arch <&2 echo "with schroot -e." >&2 fi exit $rc