diff options
author | MaxHearnden <MaxHearnden@users.noreply.github.com> | 2023-09-25 20:22:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 20:22:20 +0100 |
commit | ea026f93d696c321df3c4e397046ae72a2a9d283 (patch) | |
tree | ca1094560270ea0d6f08379c00722004b2877707 /x | |
parent | 1cbfeabfa9fb688cd5d2b8faf7ef2de8ab38dd9d (diff) |
quote argument to sh -n
This prevents glob expansion (*.py) and field splitting
Diffstat (limited to 'x')
-rwxr-xr-x | x | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ set -eu # syntax check -sh -n $0 +sh -n "$0" realpath() { if [ -d "$1" ]; then |