]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/fig2pdftex.sh
*lib/scripts/layout2layout.py: Fix section labelling
[lyx.git] / lib / scripts / fig2pdftex.sh
index 4eda48456693182ee98d164d94b750844c22c83d..da241a6ab5393050057de83bddc6edcd31cf8547 100644 (file)
@@ -117,6 +117,9 @@ test $# -eq 2 || exit 1
 input=$1
 output=$2
 
+# Fail silently if the file doesn't exist
+test -r $input || exit 0
+
 # Strip the extension from ${output}
 outbase=`echo ${output} | sed 's/[.][^.]*$//'`