1 |
On Tuesday 09 August 2005 13:55, Simon Stelling wrote: |
2 |
> #!/bin/bash |
3 |
> echangelog "${1}" |
4 |
> repoman scan |
5 |
> repoman commit -m "${1}" |
6 |
|
7 |
Even simpler, as repoman commit abort in case of errors in repoman scan: |
8 |
|
9 |
ecommit() { |
10 |
echangelog "$@" |
11 |
repoman commit -m "$@" |
12 |
} |
13 |
|
14 |
add that to your .bashrc. |
15 |
|
16 |
I use it always: |
17 |
|
18 |
ecommit "Stable on amd64" |
19 |
|
20 |
and it's done :) |
21 |
If something is bad, it stops me. |
22 |
If the package is mine and I want to have it clear, repoman full before |
23 |
ecommit to be safe. |
24 |
|
25 |
-- |
26 |
Diego "Flameeyes" Pettenò |
27 |
Gentoo Developer - http://dev.gentoo.org/~flameeyes/ |
28 |
(Gentoo/FreeBSD, Video, Gentoo/AMD64, Sound, PAM) |