summaryrefslogtreecommitdiffstats
path: root/cluster/ocfs2-tools/DETAILS
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/ocfs2-tools/DETAILS')
-rwxr-xr-xcluster/ocfs2-tools/DETAILS7
1 files changed, 2 insertions, 5 deletions
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}