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