ISTWCMS-5029: Exit with non-zero status on error in rebuild.sh
Revert "ISTWCMS-4835: updating rebuild script to use proper exit codes"
This reverts commit 4c02d711.
Revert "ISTWCMS-4835: updating rebuild script to use proper exit codes"
This reverts commit 4c02d711.