File: clear_gitrevision.sh

package info (click to toggle)
portaudio19 19.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 7,980 kB
  • ctags: 13,089
  • sloc: ansic: 56,444; sh: 13,640; cpp: 10,851; java: 677; makefile: 339; python: 143
file content (12 lines) | stat: -rwxr-xr-x 348 bytes parent folder | download | duplicates (8)
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}