index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-05-05 18:41:08 -0400 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-07-14 06:57:23 +0200 |
commit | c440e6f1c531688668ae25924f85cc45980f8295 (patch) | |
tree | ccb404a660ae827fdbbd45c00eddc11831e6e216 /mkarchroot.in | |
parent | 18e2fc20d4eeaa17d4aa1b9b5e323598d68e5227 (diff) |
-rw-r--r-- | mkarchroot.in | 4 |
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 |