From 62d3b562bc39430a3a5fcda52895a7af0d142336 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Thu, 3 Jul 2014 11:36:54 -0300 Subject: Make several spells to use get_scm_version --- cluster/ocfs2-tools/DETAILS | 7 ++----- cluster/ocfs2-tools/HISTORY | 3 +++ 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cluster') diff --git a/cluster/ocfs2-tools/DETAILS b/cluster/ocfs2-tools/DETAILS index b107da2d1f..716fa935c2 100755 --- a/cluster/ocfs2-tools/DETAILS +++ b/cluster/ocfs2-tools/DETAILS @@ -1,10 +1,7 @@ +. "$GRIMOIRE/FUNCTIONS" SPELL=ocfs2-tools if [[ $OCFS2_TOOLS_BRANCH == scm ]]; then - if [[ $OCFS2_TOOLS_AUTOUPDATE == y ]]; then - VERSION=$(date +%Y%m%d) - else - VERSION=scm - fi + VERSION=$(get_scm_version) FORCE_DOWNLOAD=on SOURCE=$SPELL-$VERSION.tar.bz2 SOURCE_URL[0]=git://oss.oracle.com/git/${SPELL}.git:${SPELL}-${VERSION} diff --git a/cluster/ocfs2-tools/HISTORY b/cluster/ocfs2-tools/HISTORY index b6b4e06c0b..3b4856c2b8 100644 --- a/cluster/ocfs2-tools/HISTORY +++ b/cluster/ocfs2-tools/HISTORY @@ -1,3 +1,6 @@ +2014-07-03 Ismael Luceno + * DETAILS: Use get_scm_version + 2013-01-26 Vlad Glagolev * DETAILS: added scm branch and latest release from devel (1.8) branch (cloned from official git tag db4aef6, repacked and put to our mirror) -- cgit v1.2.3