Skip to content

Commit 63de69c

Browse files
Merge pull request #272 from cert-manager/bugfix_verify
BUGFIX: don't copy the '.' folder
2 parents 7e7ece5 + 5615439 commit 63de69c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/generate-verify/util/verify.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ trap "cleanup" EXIT SIGINT
5353
# 2. rsync on macOS 15.4 and newer is actually openrsync, which has different permissions and throws errors when copying git objects
5454
#
5555
# So, we use find to list all files except _bin, and then copy each in turn
56-
find . -maxdepth 1 -not \( -path "./_bin" -prune \) | xargs -I% cp -af "${projectdir}/%" "${tmp}/"
56+
find . -maxdepth 1 -not \( -path "./_bin" \) -not \( -path "." \) | xargs -I% cp -af "${projectdir}/%" "${tmp}/"
5757

5858
pushd "${tmp}" >/dev/null
5959

0 commit comments

Comments
 (0)