diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-03-28 19:13:52 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-05-04 21:09:14 -0400 |
commit | bab91f854240b950f8ab9142e949391406e6a43e (patch) | |
tree | 0dece2eae59cbdb0bef104e4b31f30245fb6fbf2 /mkarchroot.in | |
parent | 168341e04931b1203740870e57966ce0f1d19e0d (diff) | |
download | devtools32-bab91f854240b950f8ab9142e949391406e6a43e.tar.xz |
Quote strings that shellcheck warns about.
These changes are all strictly "slap some double-quotes in there".
Anything more than that is not included in this commit.
Diffstat (limited to 'mkarchroot.in')
-rw-r--r-- | mkarchroot.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkarchroot.in b/mkarchroot.in index 152d323..52e363f 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -46,13 +46,13 @@ shift $((OPTIND - 1)) check_root -working_dir="$(readlink -f $1)" +working_dir="$(readlink -f "$1")" shift 1 [[ -z $working_dir ]] && die 'Please specify a working directory.' if [[ -z $cache_dir ]]; then - cache_dirs=($(pacman -v $cache_conf 2>&1 | grep '^Cache Dirs:' | sed 's/Cache Dirs:\s*//g')) + cache_dirs=($(pacman -v "$cache_conf" 2>&1 | grep '^Cache Dirs:' | sed 's/Cache Dirs:\s*//g')) else cache_dirs=(${cache_dir}) fi |