To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
The primary repository for this project is hosted at https://github.com/sonic-visualiser/sv-dependency-builds .
This repository is a read-only copy which is updated automatically every hour.
root / src / portaudio_20161030_catalina_patch / clear_gitrevision.sh @ 162:d43aab368df9
History | View | Annotate | Download (348 Bytes)
| 1 |
#!/bin/bash |
|---|---|
| 2 |
# |
| 3 |
# Clear the Git commit SHA in the include file. |
| 4 |
# This should be run before checking in code to Git. |
| 5 |
# |
| 6 |
revision_filename=src/common/pa_gitrevision.h |
| 7 |
|
| 8 |
# Update the include file with the current GIT revision. |
| 9 |
echo "#define PA_GIT_REVISION unknown" > ${revision_filename}
|
| 10 |
|
| 11 |
echo ${revision_filename} now contains
|
| 12 |
cat ${revision_filename}
|