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

Revision 25075, 643 bytes checked in by jdreed, 14 years ago (diff)
Revert r25074
  • Property svn:executable set to *
RevLine 
[22687]1#!/bin/sh
[22688]2
3# Usage: all-schroots [-A] PROGRAM ARGUMENTS
4
[22690]5# Runs PROGRAM over each of the source (template) build schroots, like
6# so:
[22688]7#
8#   PROGRAM SCHROOTNAME ARGUMENTS
9#
10# If -A is specified, only runs the program over one schroot per
[22690]11# Debian/Ubuntu version, and ephemeral session chroots are used
12# instead of source chroots.
[22688]13
[22748]14. $(dirname "$0")/debian-versions.sh
[22739]15
[22687]16if [ "$1" = "-A" ]; then
17
18shift
19prog=$1; shift
[23044]20for code in $DEBIAN_CODES; do
[24994]21    $prog ${code}-amd64-sbuild -- "$@"
[22739]22done
[22687]23
24else
25
26prog=$1; shift
27
[23044]28for code in $DEBIAN_CODES; do
[25075]29    $prog ${code}-i386-sbuild-source -- "$@"
30    $prog ${code}-amd64-sbuild-source -- "$@"
[22739]31done
32
[22687]33fi
Note: See TracBrowser for help on using the repository browser.