diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2016-01-09 05:49:24 +0100 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-01-12 13:14:43 -0800 |
commit | 682b19eec8e0a874f7dc8b0ec04b5d731be928e5 (patch) | |
tree | b450c5f6c93e5069cfc6c0e7f2d4e933d5d88ac2 /rfc.sh | |
parent | ae165bd6d7c3a0130984cbd927be318146c7bbdd (diff) |
Portability fix: rfc.sh
Function declaration in POSIX shell does not use the 'function' keyword.
This is bash-specific.
BUG: 1129939
Change-Id: Ifc2dddd0c0a99d2672aaa3aa1cdf18d0d1e38336
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/13206
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'rfc.sh')
-rwxr-xr-x | rfc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ while getopts "v" opt; do case $opt in v) # Verbose mode - function git () { >&2 echo "git $@" && `which git` $@; } + git () { >&2 echo "git $@" && `which git` $@; } ;; esac done |