From 7ca67731ef314f9046a60e624fe9b9740dd736ba Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Thu, 11 Oct 2012 11:52:39 +0200 Subject: [PATCH] bash_completion: Fix mistake introduced in merge 6a74f58 This part of the code was duplicated by accident. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- autotools/build-bash-completion | 5 ----- 1 file changed, 5 deletions(-) diff --git a/autotools/build-bash-completion b/autotools/build-bash-completion index 7bc73df84..511f52199 100755 --- a/autotools/build-bash-completion +++ b/autotools/build-bash-completion @@ -767,11 +767,6 @@ def main(): sw.Write("gnt_shopt_extglob=$(shopt -p extglob || :)") sw.Write("shopt -s extglob") - # Remember original state of extglob and enable it (required for pattern - # matching; must be enabled while parsing script) - sw.Write("gnt_shopt_extglob=$(shopt -p extglob || :)") - sw.Write("shopt -s extglob") - WritePreamble(sw, not options.compact) # gnt-* scripts -- GitLab