repo.or.cz
/
openadk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
findutils: fix compile with debugging options
[openadk.git]
/
scripts
/
tar
blob
b696d5b92ded1cbb819c1287ecd4ffe797d53d94
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.
4
5
if
[
-z
"$(which gtar 2>/dev/null)"
];
then
6
if
[
-x
/
bin
/
tar
];
then
7
/
bin
/
tar
"$@"
8
else
9
/
usr
/
bin
/
tar
"$@"
10
fi
11
else
12
gtar
"$@"
13
fi