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)



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