annotate src/portaudio_20161030/clear_gitrevision.sh @ 154:4664ac0c1032

Add Opus sources and macOS builds
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 23 Jan 2019 13:48:08 +0000
parents 59a8758c56b1
children
rev   line source
cannam@140 1 #!/bin/bash
cannam@140 2 #
cannam@140 3 # Clear the Git commit SHA in the include file.
cannam@140 4 # This should be run before checking in code to Git.
cannam@140 5 #
cannam@140 6 revision_filename=src/common/pa_gitrevision.h
cannam@140 7
cannam@140 8 # Update the include file with the current GIT revision.
cannam@140 9 echo "#define PA_GIT_REVISION unknown" > ${revision_filename}
cannam@140 10
cannam@140 11 echo ${revision_filename} now contains
cannam@140 12 cat ${revision_filename}