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