summaryrefslogtreecommitdiff
path: root/portaudio/clear_gitrevision.sh
blob: b1b087c9c2e14c983a2b74606fe1f68d5421c7fe (plain)
1
2
3
4
5
6
7
8
9
10
11
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}