From ea03a2b0349dc743c39baa3cd4454c1b03681f6b Mon Sep 17 00:00:00 2001 From: Matan Eine Date: Tue, 21 Oct 2014 11:34:56 +0300 Subject: [PATCH] since the release of unity 4.3 meta files are created by default, this commit exclude all the files that end with ".meta" when executing the PostprocessBuildPlayer_ scripts --- source/Editor/PostprocessBuildPlayer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Editor/PostprocessBuildPlayer b/source/Editor/PostprocessBuildPlayer index 52a7665..42c4bff 100755 --- a/source/Editor/PostprocessBuildPlayer +++ b/source/Editor/PostprocessBuildPlayer @@ -4,7 +4,7 @@ #Must follow naming convention PostprocessBuildPlayer_* and be kept in the Assets/Editor folder. echo "Running post-process build scripts." -for script in `/bin/ls -1 Assets/Editor | grep -i ^postprocessbuildplayer_`; do +for script in `/bin/ls -1 Assets/Editor | grep -i ^postprocessbuildplayer_ | grep -v [.]meta$`; do chmod +x "Assets/Editor/$script" echo "[[[ $script ]]]" "Assets/Editor/$script" "$@"