aboutsummaryrefslogtreecommitdiff
path: root/ebuild/utils/getfsize
blob: 38a271b00a224d6d13209efc7746e6804776c5b5 (plain)
1
2
3
4
5
#!/bin/bash
case $(uname -s) in
	FreeBSD) stat -f '%z' "$@" ;;
	*) stat -c '%s' "$@" ;;
esac