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

Bug#328363: kernel-wedge: commands/copy-modules aborts with exit status 1 and no message



scottm@e-telcom.com.au wrote:
> While performing a standard build, the copy-modules command exits with 
> status 1 and no indication of the reason.
> 
> My login shell is bash.
> 
> I have found I need to comment out 
> /usr/share/kernel-wedge/commands/copy-modules:126 'unset moddir_awk'
> 
> in order to get copy-modules to succeed.
> 
> I'm afraid I'm not aufait enough with shell syntax to know exactly why.

Strange, I cannot reproduce the general case of attempting to unset a
shell variable that is not set causing a nonzero exit with any shell
I've tried. Are you quite sure /bin/sh is bash?

However, it's dead code, so I can remove it easily enough.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: