[opencv] 59/89: java: fix PATH environment variable

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sat May 13 09:57:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 2.4.13.2
in repository opencv.

commit d42d155c16ffd532edd89f3810c563539b654959
Author: Alexander Alekhin <alexander.alekhin at intel.com>
Date:   Tue Dec 6 17:42:00 2016 +0300

    java: fix PATH environment variable
---
 modules/java/test/build.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/java/test/build.xml b/modules/java/test/build.xml
index dac4d4b..6d74306 100644
--- a/modules/java/test/build.xml
+++ b/modules/java/test/build.xml
@@ -1,4 +1,5 @@
 <project>
+  <property environment="env"/>
   <property file="ant-${opencv.build.type}.properties"/>
   <property name="test.dir" value="testResults"/>
   <property name="build.dir" value="build"/>
@@ -39,7 +40,7 @@
     <mkdir dir="${test.dir}"/>
     <junit printsummary="true" haltonfailure="false" haltonerror="false" showoutput="true" logfailedtests="true" maxmemory="256m">
       <sysproperty key="java.library.path" path="${opencv.lib.path}"/>
-      <env key="PATH" path="${opencv.lib.path}"/>
+      <env key="PATH" path="${opencv.lib.path}:${env.PATH}:${env.Path}"/>
       <classpath refid="master-classpath"/>
       <classpath>
         <pathelement location="build/classes"/>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list