summaryrefslogtreecommitdiff
path: root/source/ap/lxc/get-lxc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/lxc/get-lxc.sh')
-rwxr-xr-xsource/ap/lxc/get-lxc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ap/lxc/get-lxc.sh b/source/ap/lxc/get-lxc.sh
index 28f7321a..ccb451c6 100755
--- a/source/ap/lxc/get-lxc.sh
+++ b/source/ap/lxc/get-lxc.sh
@@ -38,7 +38,7 @@ LXC_MAJOR=$(cd lxc && grep "^m4_define(\[lxc_version_major" configure.ac | cut -
LXC_MINOR=$(cd lxc && grep "^m4_define(\[lxc_version_minor" configure.ac | cut -f 2 -d ' ' | tr -d ')')
LXC_MICRO=$(cd lxc && grep "^m4_define(\[lxc_version_micro" configure.ac | cut -f 2 -d ' ' | tr -d ')')
HEADISAT="$( cd lxc && git log -1 --format=%h )"
-DATE="$( cd lxc && git log -1 --format=%ad --date=format:%Y%m%d )"
+DATE="$( cd lxc && git log -1 --format=%cd --date=format:%Y%m%d )"
# Cleanup. We're not packing up the whole git repo.
( cd lxc && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )