repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
some modification on instpkg
[cmdllinux.git]
/
scripts
/
_copy_files.sh
blob
100886108f61a16c2b6348d48a389bb9aae0c81c
1
[
-z
"
$1
"
] &&
exit
1
2
find
-type
l
-printf
"%P
\n
"
-o -type
f
-printf
"%P
\n
"
| \
3
grep
-v
"\.tar\.gz$\|\.tar\.xz$\|\.tar\.lz$\|\.tar\.bz2$\|\.tgz$\|\.tbz2$\|\.tbz$"
| \
4
xargs
-r -i
sh
-c
"cp -dp --parents {}
$1
"