diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-10 16:12:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-11 07:44:03 +0100 |
commit | 3646ab583736e6d5e2b3fb4d51857b4b6b777b45 (patch) | |
tree | 028f3f1b386b160c1521bc8954cf7563a8b47f03 /logerrit | |
parent | 5800a15e0f2d668b844f73072dc146fd0e4237bb (diff) |
and fix logerrit on linux again
after I broke it with
commit 69959235c3094b811406f734e863a63fc61046c0
Date: Tue Mar 9 19:29:19 2021 +0200
adapt recent change to macOS
Change-Id: Ib58e9903839143fdf6e84a04d532f70a8212f984
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112269
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'logerrit')
-rwxr-xr-x | logerrit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ submit() { fi if [ "$BRANCH" = "master" ]; then - if [ "$unamestr" = 'Linux' ]; then + if [[ "$(uname)" == *Linux* ]]; then WEEKOLDDATE=$(date --date="7 days ago" +%s) else WEEKOLDDATE=$(date -v7d +%s) # BSD equivalent |