Commit 8ff0c78
committed
Prevent unintended expansions in
This quotes the command substitution so that if the current working
directory path contains IFS whitespace such as spaces, or contains
globbing characters, these will be treated literally, rather than
triggering word splitting or pathname expansion.
(Much less importantly, this also changes it to use the $() syntax
for command substitution. This is separate from quoting, since both
syntaxes need to be double-quoted to avoid splitting and globbing.)make_submodules fixture script1 parent 52f54f2 commit 8ff0c78
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments