I'd just change the line above to do:

```
git rev-parse HEAD > $(PREFIX)/application/socorro/external/postgresql/socorro_revision.txt 
```