#36036: running jruby fails with "expr: syntax error" ------------------------------+--------------------------------------------- Reporter: hum@… | Owner: ciserlohn@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: jruby ------------------------------+--------------------------------------------- Comment(by gui_dos@…): In Mountain Lion, the expr command provided by Apple is based on the FreeBSD version and not on the old NetBSD one. ML's expr doesn't interpret correctly the single backslash. I found that another effective workaround consists in escaping the single slash from: {{{ if expr "$link" : '/' > /dev/null; then }}} into {{{ if expr "$link" : '\/' > /dev/null; then }}} The launcher script of jython suffers from the same problem. -- Ticket URL: <https://trac.macports.org/ticket/36036#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS