Check for cmddir earlier
commite1f33bffec8c5254cbe23ccca8b916daad6db66b
authormartin f. krafft <madduck@debian.org>
Wed, 19 Nov 2008 15:08:02 +0000 (19 16:08 +0100)
committermartin f. krafft <madduck@debian.org>
Wed, 19 Nov 2008 19:12:19 +0000 (19 20:12 +0100)
tree90d3689d4cd49505e32fb84ae2cf019339509ad7
parent6a93d151ec7f95ef5c27e803cded3ec99994a8f4
Check for cmddir earlier

Without cmddir, tg is basically useless, even do_help() needs it, so
check it first and die hard if not found

Signed-off-by: martin f. krafft <madduck@debian.org>
Acked-by: Petr Baudis <pasky@suse.cz>
tg.sh