diff options
Diffstat (limited to 'source/a')
-rwxr-xr-x | source/a/efibootmgr/fetch-efibootmgr.sh | 2 | ||||
-rwxr-xr-x | source/a/efivar/fetch-efivar.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/a/efibootmgr/fetch-efibootmgr.sh b/source/a/efibootmgr/fetch-efibootmgr.sh index ee98ef3b0..884573d37 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} diff --git a/source/a/efivar/fetch-efivar.sh b/source/a/efivar/fetch-efivar.sh index 8e2bb19c4..2a2f40319 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} |