spm

Personal fork of spm (simple password manager)
git clone git@getsh.org:spm.git
Log | Files | Refs | README | LICENSE

commit dc2cb0c4cc77884bab900e43ae8079071c6f1af7
parent 9492135ae0afff4657cf55e73af13823afe50c2d
Author: Klemens Nanni <kl3@posteo.org>
Date:   Sun, 31 Jul 2016 00:34:27 +0200

Quote 'group' variable

Diffstat:
Mspm.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}"/