source: trunk/debathena/third/openafs/upload-openafs @ 22775

Revision 22775, 403 bytes checked in by ghudson, 17 years ago (diff)
* debathena/third/openafs/hacked-arch/arch, debathena/third/openafs/genchanges.sh: Import supporting files I failed to include previously. * debathena/third/openafs/build-openafs: Use current working directory to find supporting files. Also fix a syntax error in a conditional. * debathena/third/openafs/upload-openafs: Allow apt repository location to be overridden with $DEBATHENA_APT.
  • Property svn:executable set to *
Line 
1#!/bin/bash
2set -e
3
4: ${DEBATHENA_APT=/mit/debathena/apt}
5
6for i in */; do
7    (
8        cd $i
9        diff -U0 \
10            <(ls *.deb 2>/dev/null | sort) \
11            <(cd $DEBATHENA_APT/pool/openafs/o/openafs && ls *.deb | sort) | \
12            sed -n 's/^-\(.*\)\.deb$/\1/ p' | \
13            xargs -t -n1 -I@ reprepro --ignore=wrongdistribution -Vb $DEBATHENA_APT -C openafs include "$(echo "$i" | sed 's/-[^-]*$//')" @.changes
14    )
15done
Note: See TracBrowser for help on using the repository browser.