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