Issue1978
Created on 2012-10-22.15:11:02 by timgilbert, last changed 2015-04-10.02:11:42 by zyasoft.
msg7482 (view) |
Author: Tim Gilbert (timgilbert) |
Date: 2012-10-22.15:11:01 |
|
Per this homebrew bug:
https://github.com/mxcl/homebrew/issues/13583
...this line in the launcher shell script fail with syntax errors from expr:
if expr "$link" : '/' > /dev/null; then
Modifying the line to read as follows fixes the problem.
if expr "$link" : '\/' > /dev/null; then
I have not been able to verify that this fix doesn't cause problems on other operating systems.
|
msg7547 (view) |
Author: Peter (pjac) |
Date: 2012-12-18.22:26:56 |
|
Confirming same bug also exists in Jython 2.7a2 under Mac OS X 10.8.2 "Mountain Lion). The suggested change appears to fix this:
<pre>
$ jython
expr: syntax error
Jython 2.7a2 (default:9c148a201233, May 24 2012, 15:49:00)
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_37
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
</pre>
Giving:
<pre>
$ jython
Jython 2.7a2 (default:9c148a201233, May 24 2012, 15:49:00)
[Java HotSpot(TM) 64-Bit Server VM (Apple Inc.)] on java1.6.0_37
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
</pre>
|
msg7763 (view) |
Author: Frank Wierzbicki (fwierzbicki) |
Date: 2013-02-25.21:51:28 |
|
Oti, any opinion on this?
|
msg8587 (view) |
Author: Jim Baker (zyasoft) |
Date: 2014-05-29.19:20:21 |
|
Still present in bin/jython - need to revisit
I would assume this backslashing is safe in general, but we would have to test to verify this assumption.
|
msg8588 (view) |
Author: Jim Baker (zyasoft) |
Date: 2014-05-29.19:23:41 |
|
On a side note: on Mavericks, there is no issue with the Jython launch script. So if this is a Mountain Lion only issue, it's going to be tough for us to test.
|
msg9116 (view) |
Author: Jim Baker (zyasoft) |
Date: 2014-10-07.00:18:41 |
|
Bug #2076 (a duplicate) has a proposed fix
|
msg9787 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-04-10.02:11:42 |
|
No longer be an issue for Jython 2.7, which uses a CPython 2.7-based launcher, if that version is installed. But that's the case on OS X 10.8 or newer.
Will not fix for 2.5
|
|
Date |
User |
Action |
Args |
2015-04-10 02:11:42 | zyasoft | set | status: open -> closed resolution: out of date messages:
+ msg9787 |
2014-10-07 00:18:42 | zyasoft | set | messages:
+ msg9116 |
2014-10-05 23:17:07 | zyasoft | set | priority: high -> normal |
2014-05-29 19:23:41 | zyasoft | set | messages:
+ msg8588 |
2014-05-29 19:20:22 | zyasoft | set | nosy:
+ zyasoft messages:
+ msg8587 |
2013-02-25 21:51:28 | fwierzbicki | set | priority: high assignee: otmarhumbel messages:
+ msg7763 nosy:
+ fwierzbicki, otmarhumbel versions:
+ Jython 2.5, - 2.5.2 |
2012-12-18 22:26:57 | pjac | set | nosy:
+ pjac messages:
+ msg7547 |
2012-10-22 15:11:02 | timgilbert | create | |
|