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