From af97a775b6c42e3e912c2897639607a270375ed7 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 19 Dec 2022 13:58:50 +0100 Subject: [docker-ce] Stop parsing arguments so our grep expression works --- core/modules/docker-ce/module.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/docker-ce') diff --git a/core/modules/docker-ce/module.build b/core/modules/docker-ce/module.build index fce31ebf..fd4a720b 100644 --- a/core/modules/docker-ce/module.build +++ b/core/modules/docker-ce/module.build @@ -25,7 +25,7 @@ module_init() { [ -s "$sigfile" ] && continue curl -fsSL "$url" > "$sigfile" \ || perror "Could not download docker gpg key from $url" - if grep -qF '---BEGIN' "$sigfile"; then + if grep -qF -- '---BEGIN' "$sigfile"; then mv "$sigfile" "${sigfile}.asc" sigfile="${sigfile}.asc" else -- cgit v1.2.3-55-g7522