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