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