[LyX/master] ctests: restore use of -shell-escape to fix Minted

Scott Kostyshak skostysh at lyx.org
Mon Aug 24 20:32:10 UTC 2020


commit 4a9bbe61df8dde577fc1a3ac72aa52a1dbb09984
Author: Scott Kostyshak <skostysh at lyx.org>
Date:   Mon Aug 24 16:28:46 2020 -0400

    ctests: restore use of -shell-escape to fix Minted
    
    This commit amends 4bb00e99 and fixes the Minted tests.
---
 lib/scripts/prefTest.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/scripts/prefTest.pm b/lib/scripts/prefTest.pm
index 8f88769..1f1470f 100644
--- a/lib/scripts/prefTest.pm
+++ b/lib/scripts/prefTest.pm
@@ -94,7 +94,7 @@ sub getConverter($$)
   if ($add) {
     if ($cmd !~ /\-shell-(escape|restricted)/) {
       if ($cmd =~ /^(\S+)\s*(.*)$/) {
-	$cmd = "$1 -shell-restricted $2";
+	$cmd = "$1 -shell-escape $2";
 	$cmd =~ s/\s+$//;
       }
     }


More information about the lyx-cvs mailing list