Make build.sh work in any character repository.