[arch-dev-public] Who broke devtools? - extrapkg svn commit == fail
thomas at archlinux.org
Tue Sep 22 12:51:07 EDT 2009
Aaron Griffin schrieb:
> This would work, assuming all the error handling is in place (i.e.
> ensure editor can be called, if undefined, use vi by default, ensure
> return value before committing, ensure non-zero length commit
What about the simple way:
if [ -z "$1" ]; then
echo "Please ..."
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 261 bytes
Desc: OpenPGP digital signature
More information about the arch-dev-public