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:
Ryan Schmidt 2022-11-15 18:00:16 -06:00 committed by GitHub
parent 5facdb095c
commit 2703e00201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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.

View File

@ -1,4 +1,4 @@
#!/usr/bin/sh
#!/bin/sh
infile="$1"