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