summaryrefslogtreecommitdiffstats
path: root/utils/openmoko-dfu-util/DETAILS
diff options
context:
space:
mode:
Diffstat (limited to 'utils/openmoko-dfu-util/DETAILS')
-rwxr-xr-xutils/openmoko-dfu-util/DETAILS7
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/openmoko-dfu-util/DETAILS b/utils/openmoko-dfu-util/DETAILS
index bcbef39d1a..173002c1d8 100755
--- a/utils/openmoko-dfu-util/DETAILS
+++ b/utils/openmoko-dfu-util/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=openmoko-dfu-util
-if [[ "$OPENMOKO_DFU_UTIL_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="dfu-util-${VERSION}.tar.bz2"
SOURCE_HINTS=no-check-certificate
SOURCE_URL[0]=git://git.openezx.org/dfu-util.git:$SPELL