diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 20:22:47 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 20:36:45 +1200 |
commit | 443643200d728b4947349b13e2345ec9ae82d203 (patch) | |
tree | 5a8d13f6a39505608ac42d182c864703ca6bc649 /bash/bash_completion.d/make.bash | |
parent | Ignore SC1090 (allow unfollowable dotting) (diff) | |
download | dotfiles-443643200d728b4947349b13e2345ec9ae82d203.tar.gz dotfiles-443643200d728b4947349b13e2345ec9ae82d203.zip |
Add -r to read to placate shellcheck
Diffstat (limited to 'bash/bash_completion.d/make.bash')
-rw-r--r-- | bash/bash_completion.d/make.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/make.bash b/bash/bash_completion.d/make.bash index ca209e8e..bf4ed268 100644 --- a/bash/bash_completion.d/make.bash +++ b/bash/bash_completion.d/make.bash @@ -15,7 +15,7 @@ _make() { # Break the target up with space delimiters local -a targets - IFS=' ' read -a targets -d '' < \ + IFS=' ' read -rd '' -a targets < \ <(printf '%s\0' "${line%%:*}") # Iterate through the targets and add suitable ones |