blob: 6f63d74c1e2e1d4c0276a266c029c2ec8b8a0cb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/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 [ -z "$(which gnutar 2>/dev/null)" ];then
if [ -x /usr/bin/tar ];then
/usr/bin/tar "$@"
else
/bin/tar "$@"
fi
else
gnutar "$@"
fi
else
gtar "$@"
fi
|