Fix karma to not allow whitspace or comma. - annna - Annna the nice friendly bo… | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit b0a108dce24f5101b56fab7490d99d3037c70781 | |
parent 272e4f5b72c8a03b759ec0cf0496d42394c3d705 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Fri, 6 May 2022 21:26:56 +0200 | |
Fix karma to not allow whitspace or comma. | |
Diffstat: | |
M karma | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/karma b/karma | |
@@ -39,6 +39,10 @@ function deckarma { | |
karmastr="$1" | |
case "${karmastr}" in | |
+*" "*) | |
+ ;; | |
+*","*) | |
+ ;; | |
*++) | |
inckarma "${karmastr}" | |
;; |