ci_template: Don't use command substitution with find
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Wed, 5 Dec 2018 21:08:49 +0000 (22:08 +0100)
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Wed, 5 Dec 2018 21:26:07 +0000 (22:26 +0100)
commit5b664cd00fce7968f1f64458246772777542b542
tree81f49cfcc0fe3bdce28f9521d9e26ac04d612073
parent61074f6d8dff5a3d7071854fb3f4cedc3c44df09
ci_template: Don't use command substitution with find

GNU find has operations like -exec and -delete that operate without the
brittleness of applying shell word splitting to its output.

In addition, it won't fail if no files were matched.
gitlab/ci_template.yml