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

Bug#559344: kldutils: bashism used in /etc/init.d/module-init-tools



On Thu, Dec 03, 2009 at 08:58:49PM +0100, Hanno Hecker wrote:
> Package: kldutils
> Version: 8.0-1
> Severity: normal
> 
> When running with a default shell of dash and not bash, the 
> /etc/init.d/module-init-tools script complains about not finding the bash 
> builtin shopt:
>  # /etc/init.d/module-init-tools start
>  /etc/init.d/module-init-tools: 62: shopt: not found
>  # 
> Which is from this call:
>     modules="`shopt -s nullglob ; cat /etc/modules /etc/modules.d/* \
>          | sed -e \"s/#.*//g\" -e \"/^\( \|\t\)*$/d\" `"
> 

I have to say I don't really understand where you got this code. It has
been fixed back in July, and is surely not in version 8.0-1.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: