Skip to content

Commit

Permalink
Use /bin/sh; quote shell variables (#46)
Browse files Browse the repository at this point in the history
* On macOS, sh is /bin/sh not /usr/bin/sh

* Quote shell variables correctly
  • Loading branch information
ryandesign committed Nov 16, 2022
1 parent 5facdb0 commit 2703e00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.text
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion verbatim/makefile.sh
@@ -1,4 +1,4 @@
#!/usr/bin/sh
#!/bin/sh

infile="$1"

Expand Down

0 comments on commit 2703e00

Please sign in to comment.