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