[arch-dev-public] Who broke devtools? - extrapkg svn commit == fail
dpmcgee at gmail.com
Tue Sep 22 17:29:12 EDT 2009
On Tue, Sep 22, 2009 at 12:31 PM, Thomas Bächler <thomas at archlinux.org> wrote:
> Aaron Griffin schrieb:
>>> What about the simple way:
>>> if [ -z "$1" ]; then
>>> echo "Please ..."
>>> exit 1
>>> This way, the editor code path could be removed again.
>>> If someone wants a more complex commit message, take Francois' aproach
>>> svn commit manually before calling XXXpkg.
>>> A simple commit message can be given on the command line and doesn't need
>>> separate editor.
>> Hmm that seems ok, but we should probably try and prevent things like:
>> $ extrapkg " "
> 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. :)
More information about the arch-dev-public