ksherlock / mpw

Macintosh Programmer's Workshop (mpw) compatibility layer
239 stars 21 forks source link

Typos in Environment-multi.text #47

Open ryandesign opened 1 year ago

ryandesign commented 1 year ago

There is a typo in the Environment-multi.text file included in the mpw.0.83.zip file attached to the r-0.8.3 release which prevents tools in the IIgs and MetroWerks folders from being found. This file does not appear to be in the repository so I can't submit a pull request to fix it, but here's the fix:

--- mpw/Environment-multi.text.orig 2022-10-11 21:30:04.000000000 -0500
+++ mpw/Environment-multi.text  2022-11-15 21:46:23.000000000 -0600
@@ -30,7 +30,7 @@

 # comma-separated list of directories, like $PATH
 # add . to include the current directory.
-Commands=${ShellDirectory}Tools,${MPW}IIgs:Tools.${MPW}MetroWerks:Tools:,${MPW}Newton:Tools:${MPW}Tools:,.
+Commands=${ShellDirectory}Tools,${MPW}IIgs:Tools,${MPW}MetroWerks:Tools:,${MPW}Newton:Tools:${MPW}Tools:,.

 # MPW IIgs 1.1
 AIIGSIncludes=${MPW}IIgs:Interfaces:AIIGSIncludes:
ryandesign commented 1 year ago

A second typo prevents the Newton and top-level Tools directories from being used. The fix for both issues is now:

--- mpw/Environment-multi.text.orig 2022-10-11 21:30:04.000000000 -0500
+++ mpw/Environment-multi.text  2022-12-26 23:36:03.000000000 -0600
@@ -30,7 +30,7 @@

 # comma-separated list of directories, like $PATH
 # add . to include the current directory.
-Commands=${ShellDirectory}Tools,${MPW}IIgs:Tools.${MPW}MetroWerks:Tools:,${MPW}Newton:Tools:${MPW}Tools:,.
+Commands=${ShellDirectory}Tools,${MPW}IIgs:Tools,${MPW}MetroWerks:Tools:,${MPW}Newton:Tools:,${MPW}Tools:,.

 # MPW IIgs 1.1
 AIIGSIncludes=${MPW}IIgs:Interfaces:AIIGSIncludes: