notaz.gp2x.de
/
pcsx_rearmed.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
git subrepo pull (merge) --force deps/libchdr
[pcsx_rearmed.git]
/
deps
/
libchdr
/
deps
/
zstd-1.5.5
/
tests
/
cli-tests
/
common
/
mtime.sh
1
. "$COMMON/platform.sh"
2
3
MTIME="stat -c %Y"
4
case "$UNAME" in
5
Darwin | FreeBSD | OpenBSD | NetBSD) MTIME="stat -f %m" ;;
6
esac
7
8
assertSameMTime() {
9
MT1=$($MTIME "$1")
10
MT2=$($MTIME "$2")
11
echo MTIME $MT1 $MT2
12
[ "$MT1" = "$MT2" ] || die "mtime on $1 doesn't match mtime on $2 ($MT1 != $MT2)"
13
}