22 Sep
2009
22 Sep
'09
11:29 p.m.
On Tue, Sep 22, 2009 at 12:31 PM, Thomas Bächler <thomas@archlinux.org> wrote:
Aaron Griffin schrieb:
What about the simple way:
if [ -z "$1" ]; then echo "Please ..." exit 1 done
This way, the editor code path could be removed again.
If someone wants a more complex commit message, take Francois' aproach and svn commit manually before calling XXXpkg.
A simple commit message can be given on the command line and doesn't need a separate editor.
Hmm that seems ok, but we should probably try and prevent things like: $ extrapkg " " via:
If someone wants to explicitly cheat the system, he will succeed anyway, so I wouldn't bother.
Considering this script lives on my machine and I've already hand-hacked it anyway, I'm with Thomas here. :) -Dan