Mercurial > hg > sv-dependency-builds
annotate src/portaudio_20161030_catalina_patch/clear_gitrevision.sh @ 79:91c729825bca pa_catalina
Update build for AUDIO_COMPONENT_FIX
author | Chris Cannam |
---|---|
date | Wed, 30 Oct 2019 12:40:34 +0000 |
parents | 4edcd14160a5 |
children |
rev | line source |
---|---|
Chris@55 | 1 #!/bin/bash |
Chris@55 | 2 # |
Chris@55 | 3 # Clear the Git commit SHA in the include file. |
Chris@55 | 4 # This should be run before checking in code to Git. |
Chris@55 | 5 # |
Chris@55 | 6 revision_filename=src/common/pa_gitrevision.h |
Chris@55 | 7 |
Chris@55 | 8 # Update the include file with the current GIT revision. |
Chris@55 | 9 echo "#define PA_GIT_REVISION unknown" > ${revision_filename} |
Chris@55 | 10 |
Chris@55 | 11 echo ${revision_filename} now contains |
Chris@55 | 12 cat ${revision_filename} |