You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

clear_gitrevision.sh 348B

123456789101112
  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. # Update the include file with the current GIT revision.
  8. echo "#define PA_GIT_REVISION unknown" > ${revision_filename}
  9. echo ${revision_filename} now contains
  10. cat ${revision_filename}