diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-06 13:18:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-06 15:22:41 +0200 |
commit | 1421961635a1670ce63f3edacfc410a382668e37 (patch) | |
tree | 68f71fbf975e45cc33ce7064b261a5166c92ef04 | |
parent | e7424ff25a724ea5bb54b2282d5c3cbf74c92053 (diff) |
fix logerrit on mac
where my initial commit seems not to have done the job.
Change-Id: I437df21fc5164eace48c8a2dc093e2c3dcc37826
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113661
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rwxr-xr-x | logerrit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ submit() { if [ "$BRANCH" = "master" ]; then WEEKOLDDATE=$(date --date="7 days ago" +%s 2> /dev/null) if [ "$WEEKOLDDATE" = "" ]; then - WEEKOLDDATE=$(date -v7d +%s) # BSD equivalent + WEEKOLDDATE=$(date -v-7d +%s) # BSD equivalent fi PARENTDATE=$(git show -s --format=%ct HEAD~1) if [[ $PARENTDATE -lt $WEEKOLDDATE ]]; then |