summaryrefslogtreecommitdiff
path: root/source/ap/sc-im/fetch-sc-im.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/sc-im/fetch-sc-im.sh')
-rwxr-xr-xsource/ap/sc-im/fetch-sc-im.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/ap/sc-im/fetch-sc-im.sh b/source/ap/sc-im/fetch-sc-im.sh
index 7802545e..4733a4a0 100755
--- a/source/ap/sc-im/fetch-sc-im.sh
+++ b/source/ap/sc-im/fetch-sc-im.sh
@@ -35,8 +35,8 @@ git clone https://github.com/andmarti1424/sc-im
)
HEADISAT="$( cd sc-im && git log -1 --format=%h )"
-DATE="$( cd sc-im && git log -1 --format=%ad --date=format:%Y%m%d )"
-LONGDATE="$( cd sc-im && git log -1 --format=%ad --date=format:%c )"
+DATE="$( cd sc-im && git log -1 --format=%cd --date=format:%Y%m%d )"
+LONGDATE="$( cd sc-im && git log -1 --format=%cd --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
( cd sc-im && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv sc-im sc-im-${DATE}_${HEADISAT}