[x] I have checked that another pull request for this purpose does not exist.
[x] I have considered, and confirmed that this submission will be valuable to others.
[ ] I have created or updated the relevant documentation for this change on the PHPCI Wiki.
[x] Do the PHPCI tests pass?
Detailed description of change:
Added a test on type of the build location. Depending on whether it is a directory or a symlink, the appropriate command is used to remove the location, the appropriate command is used to remove it, when the build is complete.
Contribution Type: bug fix Link to Intent to Implement: N/A Link to Bug: https://github.com/Block8/PHPCI/issues/1187
This pull request affects the following areas:
In raising this pull request, I confirm the following (please check boxes):
Detailed description of change: Added a test on type of the build location. Depending on whether it is a directory or a symlink, the appropriate command is used to remove the location, the appropriate command is used to remove it, when the build is complete.