Skip to content

Commit

Permalink
Merge pull request #14 from mataneine/master
Browse files Browse the repository at this point in the history
exclude all the files that end with ".meta" when executing the PostprocessBuildPlayer_ scripts
  • Loading branch information
emmanuellemm committed Oct 21, 2014
2 parents 9f2dece + ea03a2b commit cc2dfcf
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 cc2dfcf

Please sign in to comment.