[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bug #281129 - emacsen-common



Hello,

I reported the following bug on 13th of November 2004 (#281129):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281129

##################################################################
Running:
  /usr/lib/emacsen-common/emacs-package-install gnus-bonus-el
fails with:

[...]
install/gnus: Byte-compiling for emacs21...found emacs21   \
  ../usr/lib/emacsen-common/packages/install/gnus:trap:77: \
  undefined signal: exit
[...]

This happens on my system(s) using zsh as /bin/sh (the shellscript
uses '#!/bin/sh' in the shebang-line).

Line 77 contains:

trap "test -f $LOG && mv -f $LOG $ELCDIR/install.log > /dev/null 2>&1" exit

I suggest changing 'trap ... exit' to 'trap ... EXIT'.
Then it would work with bash and zsh (symlinked via /bin/sh).
I've tested my version with bash version 3.00.16(1)-release
and zsh version 4.2.1.
##################################################################

I did not receive any feedback yet.
Has anybody looked into that subject?
Is this bug going to be fixed in the near future?

regards,
-mika-



Reply to: