summaryrefslogtreecommitdiffstats
path: root/radar-base.sh
diff options
context:
space:
mode:
authorClaudio Bandera <claudio.bandera@kit.edu>2015-08-30 23:04:16 +0200
committerClaudio Bandera <claudio.bandera@kit.edu>2015-08-30 23:04:16 +0200
commit2dbf0c220fc971c9493392a70c71954001fee7fd (patch)
treed846e08eb68b1aa69bb49d070d75cb4b7641b038 /radar-base.sh
parentda76c7dcbc9b52e881c864c7014dbf2a0aaf43b5 (diff)
downloadgit-sonar-2dbf0c220fc971c9493392a70c71954001fee7fd.tar.gz
git-sonar-2dbf0c220fc971c9493392a70c71954001fee7fd.zip
Fixed unittests for Ubuntu
Diffstat (limited to '')
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
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
}