Fix whitespace.
[Samba.git] / docs / scripts / copy-images.sh
blobcba43d9d99d7a61f22a7b129bf404c8aad71302f
1 #!/bin/sh
2 ROLE="$1"
3 XMLFILE="$2"
4 FROM="$3"
5 TO="$4"
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