[texworks] Regression in r410 (bashism)
texworks-r410.b-o-x at spamgourmet.com
Wed Sep 9 14:40:25 CEST 2009
switching from /bin/bash to /bin/sh in r410 introduced a regression for
systems where /bin/sh points to shells that do not understand the double
bracket testing syntax, such as Bourne shell or Debian Almquist shell
(e.g. Debian Squeeze, Ubuntu). A possible patch is attached.
P.S. BTW, the original script didn't work properly in Bash either as [[
"$BINPATHS" == ":$NEWPATH:" ]] tests only for full string matching,
whereas substring matching could be checked by [[ "$BINPATHS" ==
*":$NEWPATH:"* ]] .
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 589 bytes
Desc: not available
More information about the texworks