From 07bf679206a4efe3f6598357797333f55c6c624b Mon Sep 17 00:00:00 2001 From: Michael Altfield Date: Sun, 16 Oct 2022 19:55:41 -0500 Subject: [PATCH] chmod doesn't actually need sudo, and it breaks builds on machines without NOPASSWD because it stalls waiting for the password * https://github.com/BusKill/buskill-app/issues/14#issuecomment-1280064069 --- build/mac/buildDmg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/mac/buildDmg.sh b/build/mac/buildDmg.sh index 17af336f..d83fe4df 100755 --- a/build/mac/buildDmg.sh +++ b/build/mac/buildDmg.sh @@ -354,7 +354,7 @@ ls -lah # * https://github.com/BusKill/buskill-app/issues/14#issuecomment-1272449172 root_child_path="${APP_DIR_NAME}/Contents/MacOS/packages/buskill/root_child_mac.py" -sudo chmod 0400 "${root_child_path}" +chmod 0400 "${root_child_path}" # unfortunaetly we can't package a .dmg with a file owned by root, and it doesn't # make sense to do so, anyway