sistpoty at ubuntu.com
Fri Sep 15 20:25:00 BST 2006
Am Friday 15 September 2006 21:06 schrieb Rocco Stanzione:
> On Thursday 14 September 2006 14:45, Scott James Remnant wrote:
> > On Thu, 2006-09-14 at 14:06 -0500, Rocco Stanzione wrote:
> > > I kept quiet, though, figuring too many wheels had already started
> > > turning in that direction, until today when I tried to build iptables.
> > > When I ran "make", the first line of output was:
> > >
> > > [: 1: /usr/src/linux/include/asm: unexpected operator
> > >
> > > caused by the line:
> > >
> > > ifeq ($(shell [ -a $(KERNEL_DIR)/include/asm ] && echo YES), YES)
> > Err, this isn't valid POSIX shell...
> > > http://www.opengroup.org/onlinepubs/000095399/utilities/test.html
> > As cited by the URL you gave.
> > "test -a" is a very definite bashism for "if file exists". The correct
> > POSIX for that is -e.
> I've just noticed a new bug filed:
> Another #!/bin/sh script that fails with dash. By itself, it's not a big
> deal. We can fix the script in our repositories. Let me be more
> conservative in making this claim this time, but from what I can tell from
> to which the first link refers, returning -1 is good POSIX behavior which
> dash cannot handle.
Wrong quote for that bug:
"[...] '?' shall be set to n, an unsigned decimal integer, [...]"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060915/46d17dd4/attachment.pgp
More information about the ubuntu-devel