source: trunk/debathena/scripts/all-schroots @ 22688

Revision 22688, 999 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 *
Line 
1#!/bin/sh
2
3# Usage: all-schroots [-A] PROGRAM ARGUMENTS
4
5# Runs PROGRAM over each of the build schroots, like so:
6#
7#   PROGRAM SCHROOTNAME ARGUMENTS
8#
9# If -A is specified, only runs the program over one schroot per
10# Debian/Ubuntu version.
11
12if [ "$1" = "-A" ]; then
13
14shift
15prog=$1; shift
16$prog sarge-i386-sbuild "$@"
17$prog etch-amd64-sbuild "$@"
18$prog lenny-amd64-sbuild "$@"
19$prog dapper-amd64-sbuild "$@"
20$prog edgy-amd64-sbuild "$@"
21$prog feisty-amd64-sbuild "$@"
22$prog gutsy-amd64-sbuild "$@"
23
24else
25
26prog=$1; shift
27$prog sarge-i386-sbuild-source "$@"
28$prog etch-i386-sbuild-source "$@"
29$prog etch-amd64-sbuild-source "$@"
30$prog lenny-i386-sbuild-source "$@"
31$prog lenny-amd64-sbuild-source "$@"
32$prog dapper-i386-sbuild-source "$@"
33$prog dapper-amd64-sbuild-source "$@"
34$prog edgy-i386-sbuild-source "$@"
35$prog edgy-amd64-sbuild-source "$@"
36$prog feisty-i386-sbuild-source "$@"
37$prog feisty-amd64-sbuild-source "$@"
38$prog gutsy-i386-sbuild-source "$@"
39$prog gutsy-amd64-sbuild-source "$@"
40
41fi
Note: See TracBrowser for help on using the repository browser.