reassign 399836 fvwm-crystal retitle 399836 fvwm-crystal menu-method: dash: Illegal option -r quit On Wed, Nov 22, 2006 at 02:54:10PM +0100, Andreas Janssen wrote: > Am Mittwoch, 22. November 2006 13:17 schrieb Bill Allombert: > > On Wed, Nov 22, 2006 at 11:39:53AM +0100, Andreas Janssen wrote: > >> > >> update-menus produces the following error message over and over > >> again: > >> > >> sh: Illegal option -r > >> > >> Looks like this option is valid for bash, but nor for dash > >> (and possibly for other shells as well ). I recommend you either > >> drop the use of this option, or call bash instead of sh. > > > > Hello Andreas, > > > > Do you have fvwm-crystal installed ? > > Yes. > > > Menu itself does not use sh -r, but fvwm-crystal menu-method does: > > function CommandWOArgs()=shell("sh -r -c 'echo -n $0' " > > > > Could you send me the output of update-menus -v so I can check that ? > > Here it is: > > [EMAIL PROTECTED]:~$ LC_ALL=C update-menus -v 2>&1 | head -n 30 > update-menus[11128]: Update-menus is run by user. > update-menus[11128]: Dpkg is not locking dpkg status area, good. [...] > update-menus[11128]: Running method: /etc/menu-methods/fvwm-crystal > sh: Illegal option -r [...]
Hello Michael, fvwm-crystal menu-method do function CommandWOArgs()=shell("sh -r -c 'echo -n $0' " Unfortunately -r which is not supported by dash, and /bin/sh in Debian is not required to support it. I suggest you simply remove the -r option. Please check whether other sh scripts in fvwm-crystal are also affected. Cheers, -- Bill. <[EMAIL PROTECTED]> Imagine a large blue swirl here. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]