Revision 22775,
560 bytes
checked in by ghudson, 15 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.
|
Rev | Line | |
---|
[22775] | 1 | #!/bin/sh |
---|
| 2 | # genchanges.sh - generate a changes file for a deb file generated via |
---|
| 3 | # the make-kpkg utility |
---|
| 4 | |
---|
| 5 | # KSRC, KVERS, KMAINT, and KEMAIL are expected to be passed through the |
---|
| 6 | # environment. |
---|
| 7 | |
---|
| 8 | set -e |
---|
| 9 | umask 022 |
---|
| 10 | |
---|
| 11 | MODVERS=`cat debian/VERSION | sed s/:/\+/` |
---|
| 12 | ARCH=`dpkg --print-architecture` |
---|
| 13 | |
---|
| 14 | mprefix=`grep Package: debian/control.in | cut -d' ' -f 2 | cut -d= -f 1` |
---|
| 15 | chfile="$KSRC/../$mprefix${KVERS}${INT_SUBARCH}_${MODVERS}_${ARCH}.changes" |
---|
| 16 | |
---|
| 17 | dpkg-genchanges -b ${KMAINT:+-m"$KMAINT <$KEMAIL>"} -u"$KSRC/.." \ |
---|
| 18 | -cdebian/control > "$chfile" |
---|
| 19 | #debsign "$chfile" |
---|
| 20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.