pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/32955 (hobbitmon package exits configure when using bash as shell)
The following reply was made to PR pkg/32955; it has been noted by GNATS.
From: rudolf <netbsd%eq.cz@localhost>
To: Emmanuel Dreyfus <manu%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/32955 (hobbitmon package exits configure when using bash
as shell)
Date: Wed, 01 Mar 2006 19:32:32 +0100
Emmanuel Dreyfus wrote:
> On Wed, Mar 01, 2006 at 11:25:02AM +0000, rudolf wrote:
>> Configuration script for Hobbit
>>
>> ./configure: line 222: syntax error near unexpected token `fi'
>> ./configure: line 222: ` fi'
>> *** Error code 2
>
> I cannot reproduce this error, and I fail to see anything wrong in the
> configure script. Are we sure this is not a bash bug?
>
The configure script is ok, the patch-ae is wrong. The following is
syntactically invalid in bash:
---start---
#!/usr/pkg/bin/bash
if echo
echo
else
#
fi
---end---
we need to comment out the ``else'' in patch-ae too:
---
if ...
...
#else
#
fi
---
r.
Home |
Main Index |
Thread Index |
Old Index