From 3d9c1728a173d7430aee8c7db90f96d2bc14e998 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 15 Sep 2020 00:31:29 -0600 Subject: [PATCH] fix cmd typo --- ab-openldap/ab-openldap-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ab-openldap/ab-openldap-update.sh b/ab-openldap/ab-openldap-update.sh index 4c357c1..1e46fe3 100755 --- a/ab-openldap/ab-openldap-update.sh +++ b/ab-openldap/ab-openldap-update.sh @@ -90,7 +90,7 @@ fi ### script self-update printf "checking for updates to this script... " -localScriptChecksum=$( sha256 "./$scriptName" | grep -o '^\S*' ) +localScriptChecksum=$( sha256sum "./$scriptName" | grep -o '^\S*' ) repoScriptChecksum=$( grep "$scriptName" "$checksumFilename" | grep -o '^\S*' ) if [ "$localScriptChecksum" = "$repoScriptChecksum" ]; then printf "[NONE]\n"