paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 085671cee57a1234de68d87cd30dcb497db46f5d
parent a370a4be37f9c8489b5ff1b79472e00540097844
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue,  4 Aug 2020 17:44:36 -0400

Use -z in check for arguments

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

diff --git a/publish b/publish @@ -36,7 +36,7 @@ else echo "Either vim or nvim is needed but was not found." exit 1 fi -if [ "$1" = "" ]; then +if [ -z "$1" ]; then echo "No arguments given; nothing to do." exit 1 fi