Merge pull request #18442 from Homebrew/more-dmg-uid

This commit is contained in:
Carlo Cabrera 2024-09-27 19:48:26 +08:00 committed by GitHub
commit 431c884ce1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ module UnpackStrategy
result = loop do
# We need to use `find` here instead of Ruby in order to properly handle
# file names containing special characters, such as “e” + “´” vs. “é”.
r = system_command("find", args: [".", "-print0"], chdir: pathname, print_stderr: false)
r = system_command("find", args: [".", "-print0"], chdir: pathname, print_stderr: false, reset_uid: true)
tries += 1
# Spurious bug on CI, which in most cases can be worked around by retrying.