Skip to content

Commit

Permalink
Restore BUILD_VERSION via git attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <[email protected]>
  • Loading branch information
fabbione committed Feb 21, 2011
1 parent dd398ad commit b8ff21d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
configure.ac export-subst
heartbeat/ocf-shellfuncs.in export-subst
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ dnl *****************
AC_MSG_RESULT([])
AC_MSG_RESULT([$PACKAGE configuration:])
AC_MSG_RESULT([ Version = ${VERSION}])
AC_MSG_RESULT([ Build Version = $Format:%H$)
AC_MSG_RESULT([ Features =${PKG_FEATURES}])
AC_MSG_RESULT([])
AC_MSG_RESULT([ Prefix = ${prefix}])
Expand Down
2 changes: 1 addition & 1 deletion heartbeat/ocf-shellfuncs.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#

# Build version: @VERSION@
# Build version: $Format:%H$

# TODO: Some of this should probably split out into a generic OCF
# library for shell scripts, but for the time being, we'll just use it
Expand Down

0 comments on commit b8ff21d

Please sign in to comment.