]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/lyxpreview2bitmap.sh
Safe use of 'cut' with Win32 filenames.
[lyx.git] / lib / scripts / lyxpreview2bitmap.sh
index 3efc75408cf5aa34acdae3265533cb254944feca..a324fa88f7c0a374b4207604c03d004b785c1aee 100644 (file)
@@ -53,7 +53,7 @@
 
 # These four programs are used by the script.
 # Adjust their names to suit your setup.
-LATEX=latex
+test -n "$LATEX" || LATEX=latex
 DVIPS=dvips
 GS=gs
 PNMCROP=pnmcrop