mirror of
https://github.com/ksherlock/mpw.git
synced 2025-01-02 12:31:15 +00:00
Use /bin/sh; quote shell variables (#46)
* On macOS, sh is /bin/sh not /usr/bin/sh * Quote shell variables correctly
This commit is contained in:
parent
5facdb095c
commit
2703e00201
@ -90,9 +90,9 @@ or create a shell script (in `/usr/local/bin`, etc)
|
||||
|
||||
`/usr/local/bin/AsmIIgs`:
|
||||
|
||||
#!/usr/bin/sh
|
||||
#!/bin/sh
|
||||
|
||||
exec mpw AsmIIgs $@
|
||||
exec mpw AsmIIgs "$@"
|
||||
|
||||
|
||||
mpw uses the MPW `$Commands` variable to find the command, similar to `$PATH` on Unix. If the `$Commands` variable
|
||||
|
@ -84,9 +84,9 @@ or create a shell script (in /usr/local/bin, etc)
|
||||
|
||||
/usr/local/bin/AsmIIgs:
|
||||
|
||||
#!/usr/bin/sh
|
||||
#!/bin/sh
|
||||
|
||||
exec mpw AsmIIgs $@
|
||||
exec mpw AsmIIgs "$@"
|
||||
|
||||
mpw looks in the current directory and then in the $MPW:Tools: directory
|
||||
for the command to run. The MPW $Commands variable is not yet supported.
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/sh
|
||||
#!/bin/sh
|
||||
|
||||
infile="$1"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user