findutils: fix compile with debugging options
[openadk.git] / scripts / tar
blobb696d5b92ded1cbb819c1287ecd4ffe797d53d94
1 #!/usr/bin/env bash
2 # This file is part of the OpenADK project. OpenADK is copyrighted
3 # material, please see the LICENCE file in the top-level directory.
5 if [ -z "$(which gtar 2>/dev/null)" ];then
6 if [ -x /bin/tar ];then
7 /bin/tar "$@"
8 else
9 /usr/bin/tar "$@"
11 else
12 gtar "$@"