Mercurial > hg > sv-dependency-builds
diff src/portaudio_20161030/clear_gitrevision.sh @ 55:284acf908dcd
Add source for PortAudio stable v190600_20161030
author | Chris Cannam |
---|---|
date | Tue, 03 Jan 2017 13:44:07 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/portaudio_20161030/clear_gitrevision.sh Tue Jan 03 13:44:07 2017 +0000 @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Clear the Git commit SHA in the include file. +# This should be run before checking in code to Git. +# +revision_filename=src/common/pa_gitrevision.h + +# Update the include file with the current GIT revision. +echo "#define PA_GIT_REVISION unknown" > ${revision_filename} + +echo ${revision_filename} now contains +cat ${revision_filename}