#!/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
