Revision 24565,
776 bytes
checked in by broder, 14 years ago
(diff) |
Add a dareprepro script.
Since there are a handful of arguments that we *always* pass to
reprepro, add a wrapper for reprepro that passes them for us.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[22687] | 1 | #!/bin/sh |
---|
[22688] | 2 | |
---|
[23554] | 3 | # Usage: daupload-equivs CHANGESFILE |
---|
| 4 | # Usage: daupload-equivs-proposed CHANGESFILE |
---|
| 5 | # Usage: daupload-equivs-dev CHANGESFILE |
---|
[22688] | 6 | |
---|
| 7 | # Adds an equivs-generated package to all dists. Since equivs-built |
---|
| 8 | # packages are very simple, there is no need to build them separately |
---|
| 9 | # for each dist. |
---|
| 10 | |
---|
[22748] | 11 | . $(dirname "$0")/debian-versions.sh |
---|
[22739] | 12 | |
---|
[23554] | 13 | case "$(basename "$0")" in |
---|
| 14 | daupload-equivs) |
---|
| 15 | release="" |
---|
| 16 | ;; |
---|
| 17 | daupload-equivs-proposed) |
---|
| 18 | release="-proposed" |
---|
| 19 | ;; |
---|
| 20 | daupload-equivs-dev) |
---|
[23568] | 21 | release="-development" |
---|
[23554] | 22 | ;; |
---|
| 23 | *) |
---|
| 24 | echo "Unknown release." >&2 |
---|
| 25 | exit 1 |
---|
| 26 | ;; |
---|
| 27 | esac |
---|
| 28 | |
---|
| 29 | if [ -z "$1" ]; then |
---|
| 30 | echo "Usage: $0 CHANGESFILE" >&2 |
---|
| 31 | exit 1 |
---|
| 32 | fi |
---|
| 33 | |
---|
[22739] | 34 | for code in $DEBIAN_CODES; do |
---|
[24565] | 35 | dareprepro include "${code}${release}" "$1" |
---|
[22687] | 36 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.