summaryrefslogtreecommitdiffstats
path: root/source/ap/sc-im
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/sc-im')
-rwxr-xr-xsource/ap/sc-im/fetch-sc-im.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ap/sc-im/fetch-sc-im.sh b/source/ap/sc-im/fetch-sc-im.sh
index bed7b9f09..7802545eb 100755
--- a/source/ap/sc-im/fetch-sc-im.sh
+++ b/source/ap/sc-im/fetch-sc-im.sh
@@ -36,7 +36,7 @@ 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 --date=format:%c | grep Date: | cut -f 2- -d : )"
+LONGDATE="$( cd sc-im && git log -1 --format=%ad --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}