bash progressbar and build scripts