diff options
Diffstat (limited to 'docs/scripts/copy-images.sh')
-rwxr-xr-x | docs/scripts/copy-images.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/scripts/copy-images.sh b/docs/scripts/copy-images.sh new file mode 100755 index 0000000000..9f654a34ae --- /dev/null +++ b/docs/scripts/copy-images.sh @@ -0,0 +1,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 |