summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-16 16:53:47 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-16 17:16:08 -0400
commitefecac8688ffd15e292a9cca722e16bdb97795e6 (patch)
tree255a169ad9007008f2c6ef7c578067e82708531f
parent74c001468982ac268ed710cc262b5f95d0b474cd (diff)
common.sh.in: emacs_getopt_1 doesn't exist, remove refs to itHEADmaster
-rw-r--r--common.sh.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/common.sh.in b/common.sh.in
index 8af0e05..37710e8 100644
--- a/common.sh.in
+++ b/common.sh.in
@@ -66,7 +66,6 @@ version() {
# Sets the global variables:
# - emacs_getopt_o
# - emacs_getopt_l
-# - emacs_getopt_1
# - emacs_getopt_2
emacs_getopt_init() {
declare -a a_flags
@@ -78,10 +77,9 @@ emacs_getopt_init() {
grep -vEx 'e|eval'
)
- declare -a a_flags_o a_flags_l a_flags_1 a_flags_2
+ declare -a a_flags_o a_flags_l a_flags_2
readarray -t a_flags_o < <(printf '%s\n' "${a_flags[@]}"|grep -v '^.[^:]')
readarray -t a_flags_l < <(printf '%s\n' "${a_flags[@]}"|grep '^.[^:]')
- readarray -t a_flags_1 < <(printf '%s\n' "${a_flags[@]}"|sed -rn -e 's/^(.)$/-\1/p' -e 's/^([^-].*[^:])$/--\1/p')
readarray -t a_flags_2 < <(printf '%s\n' "${a_flags[@]}"|sed -rn -e 's/^(.):$/-\1/p' -e 's/^([^-].*):$/--\1/p')
local IFS