mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Use find instead of glob for changing file permissions (#293)
This commit is contained in:
parent
8a836b81c5
commit
e97ec82110
4
dist/steps/build.sh
vendored
4
dist/steps/build.sh
vendored
@ -158,8 +158,8 @@ chmod -R a+r "$UNITY_PROJECT_PATH"
|
|||||||
|
|
||||||
# Add execute permissions to specific files
|
# Add execute permissions to specific files
|
||||||
if [[ "$BUILD_TARGET" == "StandaloneOSX" ]]; then
|
if [[ "$BUILD_TARGET" == "StandaloneOSX" ]]; then
|
||||||
OSX_EXECUTABLE_PATH="$BUILD_PATH_FULL/StandaloneOSX.app/Contents/MacOS/*"
|
OSX_EXECUTABLE_PATH="$BUILD_PATH_FULL/$BUILD_NAME.app/Contents/MacOS"
|
||||||
chmod +x "$OSX_EXECUTABLE_PATH"
|
find "$OSX_EXECUTABLE_PATH" -type f -exec chmod +x {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user