Commit: dc2cb0c4cc77884bab900e43ae8079071c6f1af7 Parent: 9492135ae0afff4657cf55e73af13823afe50c2d Author: Klemens Nanni Date: Sun, 31 Jul 2016 00:34:27 +0200 Quote 'group' variable Diffstat:
M | spm.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spm.sh b/spm.sh @@ -64,7 +64,7 @@ add() { readpw "Password for '${1}': " password [ -t 0 ] && printf '\n' - group=${1%/*} + group="${1%/*}" [ "${group}" = "${1}" ] && group= mkdir -p "${STORE_DIR}"/"${group}"/