fix build.sh bugs for git.all.html