remove previous directory in build-twice.sh