regen.sh - Add support for alternate ports (using same configuration as setup.sh)
Merge pull request #4464 from totten/4.5-regen

regen.sh - Add support for alternate ports (using same configuration as setup.sh)