summaryrefslogtreecommitdiff
path: root/scripts/tar
blob: b696d5b92ded1cbb819c1287ecd4ffe797d53d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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.

if [ -z "$(which gtar 2>/dev/null)" ];then
	if [ -x /bin/tar ];then
		/bin/tar "$@"
	else
		/usr/bin/tar "$@"
	fi
else
	gtar "$@"
fi