aboutsummaryrefslogtreecommitdiff
path: root/0.4.0/ebuild/utils/getmtime
blob: 81a78e45fc95872282308fdfe6e4abfcb7fe9784 (plain)
1
2
3
4
5
#!/bin/bash
case $(uname -s) in
	FreeBSD) stat -f '%m' $@ ;;
	*) stat -c '%Y' $@ ;;
esac