It goes wrong in the ssh remote shell invoked from function initialize_alioth_repos. When executing with option -x:
% ./dom-new-git-repo dose3 dose3-0.7.tar.gz + [email protected] + CIA_PROJECT=debian-ocaml-maint + PACKAGE=dose3 + TARBALL=dose3-0.7.tar.gz + '[' -z dose3 ']' + '[' '!' -f dose3-0.7.tar.gz ']' + INJECT_TARBALL=yes + ALIOTH=alioth.debian.org + REPODIR=/git/pkg-ocaml-maint/packages/dose3.git + initialize_alioth_repos + echo 'I: initialize (empty) remote repository on alioth.d.o' I: initialize (empty) remote repository on alioth.d.o + cat + ssh alioth.debian.org Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: no access to tty (Bad file descriptor). Thus no job control in this shell. term: Undefined variable. set: Variable name must begin with a letter. The problem is ssh reading from stdin: % ssh alioth.debian.org date Wed Jul 7 20:22:43 UTC 2010 % echo date | ssh alioth.debian.org Pseudo-terminal will not be allocated because stdin is not a terminal. Warning: no access to tty (Bad file descriptor). Thus no job control in this shell. term: Undefined variable. Wed Jul 7 20:22:54 UTC 2010 -Ralf. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

