repo.or.cz
/
Samba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix whitespace.
[Samba.git]
/
docs
/
scripts
/
copy-images.sh
blob
cba43d9d99d7a61f22a7b129bf404c8aad71302f
1
#!/bin/sh
2
ROLE
=
"
$1
"
3
XMLFILE
=
"
$2
"
4
FROM
=
"
$3
"
5
TO
=
"
$4
"
6
7
for
x
in
`xsltproc --stringparam prepend "" --stringparam append "" --stringparam role "
$ROLE
" xslt/find-image-dependencies.xsl "
$XMLFILE
"`
8
do
9
test -f
$FROM
/
$x
||
make
$FROM
/
$x
||
exit
1
10
cp
-u
$FROM
/
$x $TO
/
$x
||
exit
1
11
done
12
exit