aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/ci/lockfile_changed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ci/lockfile_changed.sh b/etc/ci/lockfile_changed.sh
index 6b3191291cc..ed52fbdf0fc 100755
--- a/etc/ci/lockfile_changed.sh
+++ b/etc/ci/lockfile_changed.sh
@@ -8,6 +8,6 @@ set -o errexit
set -o nounset
set -o pipefail
-diff="$(git diff -- */*/Cargo.lock)"
+diff="$(find . -name 'Cargo.lock' -print0 | xargs -0 git diff)"
echo "${diff}"
[[ -z "${diff}" ]]