Revision 22688,
540 bytes
checked in by ghudson, 17 years ago
(diff) |
Add leading comments documenting (hopefully correctly) the scripts
snapshotted from /mit/debathena/bin.
* debathena/scripts/dadch,
debathena/scripts/clean-schroot,
debathena/scripts/da,
debathena/scripts/daequivsupload,
debathena/scripts/upgrade-schroot,
debathena/scripts/daupload-release,
debathena/scripts/sbuildhack,
debathena/scripts/all-schroots: Comment.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[22687] | 1 | #!/bin/sh |
---|
| 2 | |
---|
[22688] | 3 | # Wrapper around sbuild. The main purpose is to append a |
---|
| 4 | # distribution-dependent string like "~ubuntu7.10" to the binary |
---|
| 5 | # package version, using Sbuildhack.pm. |
---|
| 6 | |
---|
[22687] | 7 | usage() { |
---|
| 8 | echo "Usage: $0 <dist>-<arch> ..." >&2 |
---|
| 9 | exit 1 |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | dist_arch=$1; shift |
---|
| 13 | if [ -z "$dist_arch" ]; then usage; fi |
---|
| 14 | IFS=- read dist arch <<EOF |
---|
| 15 | $dist_arch |
---|
| 16 | EOF |
---|
| 17 | if [ -z "$dist" ] || [ -z "$arch" ]; then usage; fi |
---|
| 18 | perl -I"$(dirname "$0")" -MSbuildHack \ |
---|
| 19 | /usr/bin/sbuild --binNMU=171717 --make-binNMU="Build with sbuild." \ |
---|
| 20 | -d "$dist" --arch="$arch" -v "$@" |
---|
Note: See
TracBrowser
for help on using the repository browser.