Paul Spooren 7da724e479 build: Fix Shellcheck for get_source_date_epoch.sh
If a `cd` to `TOPDIR` fails the script should quit.

Also unify `try_mtime` function by storing it in a variable.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-09-01 17:26:28 +08:00
..
2020-07-08 12:02:08 +08:00
2018-09-07 13:43:55 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2018-01-15 18:26:41 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2020-02-21 02:41:00 +08:00
2018-09-07 13:43:55 +08:00
2017-09-08 20:49:53 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2020-07-12 12:28:38 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2020-02-21 02:41:00 +08:00
2017-09-06 19:19:45 +08:00
2017-09-06 19:19:45 +08:00
2020-02-21 02:41:00 +08:00
2018-09-07 13:43:55 +08:00
2017-09-06 19:19:45 +08:00
2020-02-21 02:41:00 +08:00
2017-09-06 19:19:45 +08:00