summaryrefslogtreecommitdiffstats
path: root/source/l/libclc/fetch-libclc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libclc/fetch-libclc.sh')
-rwxr-xr-xsource/l/libclc/fetch-libclc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/l/libclc/fetch-libclc.sh b/source/l/libclc/fetch-libclc.sh
index bba394133..fb5d4f33b 100755
--- a/source/l/libclc/fetch-libclc.sh
+++ b/source/l/libclc/fetch-libclc.sh
@@ -36,7 +36,7 @@ git clone http://llvm.org/git/libclc.git
HEADISAT="$( cd libclc && git log -1 --format=%h )"
DATE="$( cd libclc && git log -1 --format=%ad --date=format:%Y%m%d )"
-LONGDATE="$( cd libclc && git log -1 --date=format:%c | grep Date: | cut -f 2- -d : )"
+LONGDATE="$( cd libclc && git log -1 --format=%ad --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
( cd libclc && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv libclc libclc-${DATE}_${HEADISAT}