source: trunk/debathena/scripts/daequivsupload @ 22748

Revision 22748, 397 bytes checked in by ghudson, 16 years ago (diff)
Fixes for r22739. * debathena/scripts/da, debathena/scripts/daequivsupload, debathena/scripts/daupload-release, debathena/scripts/all-schroots: Use "." instead of "source". The latter is a csh-ism and will not work in /bin/sh on (at least) Gutsy. debathena/scripts/sbuildhack, debathena/scripts/SbuildHack.pm: Pass the NMU tag in as an environment variable, since the useful value of $0 is long gone by the time we execute a shell command inside the sbuild perl script, making it hard to find debian-versions.sh.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3# Usage: daequivsupload CHANGESFILE
4
5# Adds an equivs-generated package to all dists.  Since equivs-built
6# packages are very simple, there is no need to build them separately
7# for each dist.
8
9. $(dirname "$0")/debian-versions.sh
10
11: ${DEBATHENA_APT=/mit/debathena/apt}
12
13for code in $DEBIAN_CODES; do
14    reprepro -Vb $DEBATHENA_APT --ignore=wrongdistribution include "$code" "$1"
15done
Note: See TracBrowser for help on using the repository browser.