alphagov/smart-answers — pull request #1024 by bradleywright (2014-07-22 10:48:01+00:00)
Title: Ensure the `rm` command completes without error

There are sporadic build failures on CI of the form:

```
+ export GOVUK_APP_DOMAIN=dev.gov.uk
+ GOVUK_APP_DOMAIN=dev.gov.uk
+ export GOVUK_ASSET_HOST=http://static.dev.gov.uk
+ GOVUK_ASSET_HOST=http://static.dev.gov.uk
+ for d in images javascripts templates stylesheets
+ rm public/images
rm: cannot remove `public/images': No such file or directory
```

Passing the `-f` flag to `rm` ensures that it will swallow errors like
that and continue fine (since we don't care if the directory doesn't exist).