Mercurial > hg > sv-dependency-builds
view src/portaudio_20161030_catalina_patch/update_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 |
line wrap: on
line source
#!/bin/bash # # Write the Git commit SHA to an include file. # This should be run before compiling code on Linux or Macintosh. # revision_filename=src/common/pa_gitrevision.h # Run git first to make sure it is installed before corrupting the # include file. git rev-parse HEAD # Update the include file with the current Git revision. echo -n "#define PA_GIT_REVISION " > ${revision_filename} git rev-parse HEAD >> ${revision_filename} echo ${revision_filename} now contains cat ${revision_filename}