From 2dbf0c220fc971c9493392a70c71954001fee7fd Mon Sep 17 00:00:00 2001 From: Claudio Bandera Date: Sun, 30 Aug 2015 23:04:16 +0200 Subject: Fixed unittests for Ubuntu --- radar-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'radar-base.sh') diff --git a/radar-base.sh b/radar-base.sh index b7074d8..8d18fe3 100755 --- a/radar-base.sh +++ b/radar-base.sh @@ -62,7 +62,7 @@ record_timestamp() { timestamp() { if is_repo; then - printf '%s' "$(stat -f%m "$(dot_git)/lastupdatetime" 2>/dev/null || printf '%s' "0")" + printf '%s' "$(stat -c %Y "$(dot_git)/lastupdatetime" 2>/dev/null || printf '%s' "0")" fi } -- cgit v1.2.3