summaryrefslogtreecommitdiff
path: root/docs/scripts/copy-images.sh
blob: 9f654a34ae5e7c5ef3db22042b38ccf9334fb349 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
ROLE="$1"
XMLFILE="$2"
FROM="$3"
TO="$4"

for x in `xsltproc --stringparam prepend "" --stringparam append "" --stringparam role "$ROLE" xslt/find-image-dependencies.xsl "$XMLFILE"`
do
	cp -u $FROM/$x $TO/$x || exit 1
done
exit