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