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