summaryrefslogtreecommitdiff
path: root/scripts/find
blob: 439ec0b3f683ae48d492fd5bdd11510287f66372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

find=$(which find)
os=$(uname)
case $os in
	Darwin)
		/opt/local/libexec/gnubin/find "$@"
		;;
	*)
		/usr/bin/find "$@"
		;;
esac