From 2a9db9be0c5b9fc3e2ca57656af40a88503c9850 Mon Sep 17 00:00:00 2001 From: JoshVanL Date: Wed, 19 Jun 2019 15:26:01 +0100 Subject: [PATCH] Use `find` to like crd files to make array consistent Signed-off-by: JoshVanL --- hack/update-crds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/update-crds.sh b/hack/update-crds.sh index ede82e3bf..25c3d2ec0 100755 --- a/hack/update-crds.sh +++ b/hack/update-crds.sh @@ -34,7 +34,7 @@ out="deploy/manifests/00-crds.yaml" rm "$out" > /dev/null 2>&1 || true mkdir -p "$(dirname $out)" touch "$out" -for file in ${output}/*; do +for file in $(find "${output}" -type f | sort); do cat "$file" >> "$out" echo "---" >> "$out" done