Skip to content

Commit

Permalink
since the release of unity 4.3 meta files are created by default, thi…
Browse files Browse the repository at this point in the history
…s commit exclude all the files that end with ".meta" when executing the PostprocessBuildPlayer_ scripts
  • Loading branch information
mataneine committed Oct 21, 2014
1 parent 9f2dece commit ea03a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Editor/PostprocessBuildPlayer
Original file line number Diff line number Diff line change
Expand Up @@ -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" "$@"
Expand Down

0 comments on commit ea03a2b

Please sign in to comment.