clear_gitrevision.sh (348B)
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}