Chris@55: #!/bin/bash Chris@55: # Chris@55: # Clear the Git commit SHA in the include file. Chris@55: # This should be run before checking in code to Git. Chris@55: # Chris@55: revision_filename=src/common/pa_gitrevision.h Chris@55: Chris@55: # Update the include file with the current GIT revision. Chris@55: echo "#define PA_GIT_REVISION unknown" > ${revision_filename} Chris@55: Chris@55: echo ${revision_filename} now contains Chris@55: cat ${revision_filename}