annotate src/portaudio_20161030_catalina_patch/clear_gitrevision.sh @ 167:bd3cc4d1df30

Add FFTW 3.3.8 source, and a Linux build
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 19 Nov 2019 14:52:55 +0000
parents d43aab368df9
children
rev   line source
cannam@162 1 #!/bin/bash
cannam@162 2 #
cannam@162 3 # Clear the Git commit SHA in the include file.
cannam@162 4 # This should be run before checking in code to Git.
cannam@162 5 #
cannam@162 6 revision_filename=src/common/pa_gitrevision.h
cannam@162 7
cannam@162 8 # Update the include file with the current GIT revision.
cannam@162 9 echo "#define PA_GIT_REVISION unknown" > ${revision_filename}
cannam@162 10
cannam@162 11 echo ${revision_filename} now contains
cannam@162 12 cat ${revision_filename}