Title: Bug in jython bash startup script (shows on Mac)
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.5
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rovf
Priority: Keywords:

Created on 2013-08-24.09:29:07 by rovf, last changed 2013-08-24.09:29:07 by rovf.

msg8087 (view) Author: Ronald (rovf) Date: 2013-08-24.09:29:07
The jython bash script contains a line

    if expr "$link" : '/' > /dev/null; then

This is correct for the Implementation of expr which comes with Linux, but does not work on Mac (and likely on BSD either). The reason is that the Mac expr does not permit a regexp which looks syntactically like an operator. This is documented here:

Solution: Replace this line by

  if expr "$link" : '[/]' > /dev/null; then
Date User Action Args
2013-08-24 09:29:07rovfcreate