summaryrefslogtreecommitdiff
path: root/scripts/tar
blob: 5d6db28b4c781ec58910904c78f639596303e7ae (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 /usr/bin/tar ];then
		/usr/bin/tar "$@"
	else
		/bin/tar "$@"
	fi
else
	gtar "$@"
fi