From 8f37922f65a502a46328a8cf24aa7781be1a035f Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 11 Sep 2014 13:56:32 -0400 Subject: [PATCH] LP#1350042 browser unit tests use repo fm_IDL2js.xsl Generate JS-friendly IDL2js for browser client unit tests from the .xsl file within the repo instead of referencing the installed version, which may not yet exist on the machine. Signed-off-by: Bill Erickson Signed-off-by: Jason Etheridge --- Open-ILS/web/js/ui/default/staff/test/data/idl2js.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/test/data/idl2js.pl b/Open-ILS/web/js/ui/default/staff/test/data/idl2js.pl index fbf998fdbb..66fb2e150d 100644 --- a/Open-ILS/web/js/ui/default/staff/test/data/idl2js.pl +++ b/Open-ILS/web/js/ui/default/staff/test/data/idl2js.pl @@ -4,7 +4,7 @@ use XML::LibXML; use XML::LibXSLT; my $out_file = 'IDL2js.js'; my $idl_file = '../../../../../../../examples/fm_IDL.xml'; -my $xsl_file = '/openils/var/xsl/fm_IDL2js.xsl'; # FIXME: hard-coded path +my $xsl_file = '../../../../../../../xsl/fm_IDL2js.xsl'; my $xslt = XML::LibXSLT->new(); my $style_doc = XML::LibXML->load_xml(location => $xsl_file, no_cdata=>1); -- 2.11.0