summaryrefslogtreecommitdiff
path: root/docs/scripts/copy-images.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docs/scripts/copy-images.sh')
-rwxr-xr-xdocs/scripts/copy-images.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/scripts/copy-images.sh b/docs/scripts/copy-images.sh
index 9f654a34ae..cba43d9d99 100755
--- a/docs/scripts/copy-images.sh
+++ b/docs/scripts/copy-images.sh
@@ -6,6 +6,7 @@ TO="$4"
for x in `xsltproc --stringparam prepend "" --stringparam append "" --stringparam role "$ROLE" xslt/find-image-dependencies.xsl "$XMLFILE"`
do
+ test -f $FROM/$x || make $FROM/$x || exit 1
cp -u $FROM/$x $TO/$x || exit 1
done
exit