quote argument to sh -n
This prevents glob expansion (*.py) and field splitting
This commit is contained in:
parent
1cbfeabfa9
commit
ea026f93d6
1 changed files with 1 additions and 1 deletions
2
x
2
x
|
@ -8,7 +8,7 @@
|
|||
set -eu
|
||||
|
||||
# syntax check
|
||||
sh -n $0
|
||||
sh -n "$0"
|
||||
|
||||
realpath() {
|
||||
if [ -d "$1" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue