# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1337967911 25200
# Node ID 19ab641989626403bb4ee4ae4efdb93de31892d2
# Parent de5587009ecbaff5e477c6d111ec3d444402d7a3
Trac #13010: mathematica interface message on OS X is out of date
diff --git a/sage/interfaces/mathematica.py b/sage/interfaces/mathematica.py
a
|
b
|
|
449 | 449 | * APPLE OS X: |
450 | 450 | (a) create a file called math (in your PATH): |
451 | 451 | #!/bin/sh |
452 | | /Applications/Mathematica\ 5.2.app/Contents/MacOS/MathKernel $@ |
| 452 | /Applications/Mathematica.app/Contents/MacOS/MathKernel $@ |
453 | 453 | |
454 | | Note that the 5.2 part will depend on the version of |
455 | | Mathematica you have, and the above path could be different |
456 | | if you installed mathematica elsewhere. |
| 454 | The path in the above script must be modified if you installed |
| 455 | Mathematica elsewhere or installed an old version of |
| 456 | Mathematica that has the version in the .app name. |
457 | 457 | |
458 | 458 | (b) Make the file executable. |
459 | 459 | chmod +x math |