psifidotos/workflow-project — pull request #32 by james147 (2012-11-23 01:53:44+00:00)
Title: Build improvments

Made some small improvements to the build script:

* Moved it out side the build directory.
This makes it easier to delete the build directory to start a new clean build.
* Removes the assumption that sudo exists on non debian systems.
It now checks if sudo exists and run it falling back to su if not.
* Stops the script if one of the stages fails.
This will stop the script doing something bad/unexpected if one of the steps fails.