From bb03601d733f4ab637a36ed028abef42e7662053 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 1 Feb 2013 09:01:36 +0400 Subject: Use $1, $2 instead of $@ here If found a bug in mksh, where it would not split "$@" if IFS is null (reported). --- git-remote-gcrypt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-remote-gcrypt') diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 3ae2eb2..5423c0b 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -48,7 +48,7 @@ echo_die() { echo_info "$@" ; exit 1; } isnull() { case "$1" in "") return 0;; *) return 1;; esac; } isnonnull() { ! isnull "$1"; } iseq() { case "$1" in "$2") return 0;; *) return 1;; esac; } -isnoteq() { ! iseq "$@"; } +isnoteq() { ! iseq "$1" "$2"; } negate() { ! "$@"; } isurl() { isnull "${2%%$1://*}"; } -- cgit v1.2.3