scripts

My personal collection of scripts
git clone git://src.gearsix.net/scripts
Log | Files | Refs | Atom | README | LICENSE

commit 55ac04698ae77c6f56541a99379b93b4623fe652
parent 1a813f9b7c1c9492e07a1a9df83c997f6b4a49b8
Author: gearsix <gearsix@tuta.io>
Date:   Thu, 24 Mar 2022 15:44:36 +0000

bugfix to strcmp

Diffstat:
Mnix/git-cfg.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nix/git-cfg.sh b/nix/git-cfg.sh @@ -3,7 +3,7 @@ # description: set git config user.name ($1) & user.email ($2) in current dir, defaults to using --local # ARGUMENTS: -g, --global = "git config --global ..." | -h, --help = prints help -if [ $1 = "--help" ] || [ $1 = "-h" ]; then +if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then echo "Usage: git-cfg [ARGUMENTS] [NAME] [EMAIL]" echo "" echo "shorthand script to set the user.name and user.email values in a git"