Skip to content

Commit

Permalink
Fix minor shell check errors for new version command
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnick committed Jun 16, 2020
1 parent 34b22e2 commit cfca60e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions encpass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#
################################################################################

ENCPASS_VERSION="v4.1.0"
ENCPASS_VERSION="v4.1.1"

encpass_checks() {
[ -n "$ENCPASS_CHECKS" ] && return
Expand Down Expand Up @@ -1199,7 +1199,7 @@ encpass_cmd_lite() {

encpass_cmd_version() {
echo "tag version: $ENCPASS_VERSION"
[ -x "$(command -v sha256sum)" ] && printf "SHA256 Checksum: %s\n" "$(sha256sum $0)"
[ -x "$(command -v sha256sum)" ] && printf "SHA256 Checksum: %s\n" "$(sha256sum "$0")"
encpass_ext_func "cmd_version" "$@"
}

Expand All @@ -1219,7 +1219,7 @@ if [ "$(basename "$0")" = "encpass.sh" ]; then
import ) shift; encpass_checks; encpass_cmd_import "$@" ;;
extension ) shift; encpass_checks; encpass_cmd_extension "$@" ;;
lite ) shift; encpass_checks; encpass_cmd_lite "$@" ;;
version|--version|-version|-v ) encpass_checks; encpass_cmd_version ;;
version|--version|-version|-v ) encpass_checks; encpass_cmd_version "$@" ;;
help|--help|usage|--usage|\? ) encpass_checks; encpass_help ;;
* )
if [ ! -z "$1" ]; then
Expand Down

0 comments on commit cfca60e

Please sign in to comment.