grm

git repo manager for self-hosted git servers
git clone git://sink.krj.st/grm
Log | Files | Refs | README | LICENSE

commit c150d7607083aa657c51423768776b150d4edb70
parent 24df550c0439e3a1d3ce5b3cd8570692eba13289
Author: krasjet <nil@krj.st>
Date:   Sat, 11 Jul 2020 20:47:54 -0700

fix variable quoting

Diffstat:
Mgrm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grm b/grm @@ -65,7 +65,7 @@ grm_new() { } grm_remove() { - [ -z $1 ] && { echo "no repo name given, exiting..."; exit 1; } + [ -z "$1" ] && { echo "no repo name given, exiting..."; exit 1; } printf "remove %s [y/N]? " "$1" read -r resp