diff options
author | root <root@localhost> | 2013-02-01 09:01:36 +0400 |
---|---|---|
committer | root <root@localhost> | 2013-02-01 09:01:36 +0400 |
commit | bb03601d733f4ab637a36ed028abef42e7662053 (patch) | |
tree | f19690044f0ef5afcec3a075ac280b1fccc230af | |
parent | 786dc939d4d988d04cb411cf09a77c9db33a4581 (diff) | |
download | git-remote-gcrypt-bb03601d733f4ab637a36ed028abef42e7662053.zip git-remote-gcrypt-bb03601d733f4ab637a36ed028abef42e7662053.tar.gz git-remote-gcrypt-bb03601d733f4ab637a36ed028abef42e7662053.tar.bz2 |
Use $1, $2 instead of $@ here
If found a bug in mksh, where it would not split "$@" if IFS is null
(reported).
-rwxr-xr-x | git-remote-gcrypt | 2 |
1 files changed, 1 insertions, 1 deletions
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://*}"; } |