summaryrefslogtreecommitdiffstats
path: root/source/x/x11/src/get-xf86-video-openchrome.sh
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2020-07-08 20:56:51 +0000
committer Eric Hameleers <alien@slackware.com>2020-07-09 08:59:53 +0200
commitf5721011450bb6cac58f9340e8df3cb6265e70de (patch)
tree74722112f186d8e3c843d6dfc8fb3735a80619e2 /source/x/x11/src/get-xf86-video-openchrome.sh
parentd0dad0b9a20d04dea0b2bbd39ba851d67f877327 (diff)
downloadcurrent-f5721011450bb6cac58f9340e8df3cb6265e70de.tar.gz
current-f5721011450bb6cac58f9340e8df3cb6265e70de.tar.xz
Wed Jul 8 20:56:51 UTC 202020200708205651
a/kernel-firmware-20200702_74ac3b5-noarch-1.txz: Upgraded. a/sysvinit-2.97-x86_64-1.txz: Upgraded. n/bind-9.16.5-x86_64-1.txz: Upgraded. x/xf86-video-intel-20191028_5ca3ac1a-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/x/x11/src/get-xf86-video-openchrome.sh')
-rwxr-xr-xsource/x/x11/src/get-xf86-video-openchrome.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/x/x11/src/get-xf86-video-openchrome.sh b/source/x/x11/src/get-xf86-video-openchrome.sh
index 5552e15d..ed64737d 100755
--- a/source/x/x11/src/get-xf86-video-openchrome.sh
+++ b/source/x/x11/src/get-xf86-video-openchrome.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2016 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2016, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -36,12 +36,14 @@ git clone git://anongit.freedesktop.org/git/openchrome/xf86-video-openchrome/
HEADISAT="$( cd xf86-video-openchrome && git log -1 --format=%h )"
DATE="$( cd xf86-video-openchrome && git log -1 --format=%ad --date=format:%Y%m%d )"
+LONGDATE="$( cd xf86-video-openchrome && git log -1 --format=%ad --date=format:%c )"
# Cleanup. We're not packing up the whole git repo.
( cd xf86-video-openchrome && find . -type d -name ".git*" -exec rm -rf {} \; 2> /dev/null )
mv xf86-video-openchrome xf86-video-openchrome-${DATE}_${HEADISAT}
tar cf xf86-video-openchrome-${DATE}_${HEADISAT}.tar xf86-video-openchrome-${DATE}_${HEADISAT}
xz -9 -f xf86-video-openchrome-${DATE}_${HEADISAT}.tar
rm -rf xf86-video-openchrome-${DATE}_${HEADISAT}
+touch -d "$LONGDATE" xf86-video-openchrome-${DATE}_${HEADISAT}.tar.xz
echo
echo "xf86-video-openchrome branch $BRANCH with HEAD at $HEADISAT packaged as xf86-video-openchrome-${DATE}_${HEADISAT}.tar.xz"
echo