From d4ff19f0033e96f9a61fc9b094b038426735c834 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 2 Dec 2014 09:51:33 -0500 Subject: fix calls to emacs_getopt_init --- common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common.sh') diff --git a/common.sh b/common.sh index 3d8c3ec..61fa26f 100644 --- a/common.sh +++ b/common.sh @@ -92,7 +92,9 @@ emacs_getopt() { declare o="$1" declare l="$2" shift 2 - emacs_getopt_init + [[ -z "${emacs_getopt_o}" ]] || + [[ -z "${emacs_getopt_l}" ]] || + emacs_getopt_init getopt -a \ -n "$0" \ -o "${emacs_getopt_o}${o}" \ -- cgit v1.2.3-2-g168b