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 updates
[cmdllinux.git]
/
scripts
/
_apatch
blob
0ea4709bed7e351ad0a96d995785898ee737bdee
1
#!/bin/sh
2
[ !
-z
"
$1
"
] &&
p
=
$1
|| p
=
"-p1"
3
find
-maxdepth
1
-type
f
-name
"*.patch"
|
sort
|
while
read
patch
;
do
echo
$patch
;
patch
$p
<
$patch
;
done