summaryrefslogtreecommitdiffstats
path: root/core/modules/docker-ce
diff options
context:
space:
mode:
authorSimon Rettberg2022-12-19 13:58:50 +0100
committerSimon Rettberg2022-12-19 13:58:50 +0100
commitaf97a775b6c42e3e912c2897639607a270375ed7 (patch)
tree0ba4499491bfc700d167714958e174d0adc5438e /core/modules/docker-ce
parent[docker-ce] Use trusted.gpg.d (diff)
downloadmltk-af97a775b6c42e3e912c2897639607a270375ed7.tar.gz
mltk-af97a775b6c42e3e912c2897639607a270375ed7.tar.xz
mltk-af97a775b6c42e3e912c2897639607a270375ed7.zip
[docker-ce] Stop parsing arguments so our grep expression works
Diffstat (limited to 'core/modules/docker-ce')
-rw-r--r--core/modules/docker-ce/module.build2
1 files changed, 1 insertions, 1 deletions
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