Package: topgit
Version: 0.2-1
Tags: upstream confirmed

also sprach Fabien Thomas <[email protected]> [2009.02.19.1849 +0100]:
> # We were sourced from another script for our utility functions;
> # this is set by hooks.
> [ -z "$tg__include" ] || return 0
[...]
> using pure sh (under freebsd) this code continue after the return
> 0 with the variable tg__include defined (using bash it return
> correctly so hook works).

Good spot. I don't know if it's possible to "return from a sourced
file" in POSIX shell. s/return/exit/ is too strong. I think the only
solution would be to put all of which follows that statement into an
if clause such that it would only be executed if $tg__include was
empty.

Anyway, I filed this as a bug against the Debian package and will
see to it sometime. You shall receive a confirmation message with
the bug number.

-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to