Improve a bit shell scripts portability.
- Use /bin/sh: bash is not required here;
- Avoid Perl regexp in grep(1): this is a GNU extension;
- While here, make ReadNavigo.sh fail earlier if pn53x-tamashell
fails at first invocation.
Reported by: Ganael Laplanche <martymac@FreeBSD.org>
This commit is contained in:
parent
16a5fc419c
commit
27c43e8b8a
2 changed files with 8 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
cat << EOF | \
|
||||
pn53x-tamashell |\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue