summaryrefslogtreecommitdiffstats
path: root/scilab/modules/javasci
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-03-08 09:28:07 +0100
committerAllan CORNET <allan.cornet@scilab.org>2010-03-08 09:28:07 +0100
commit8b7ac05e63459066060daee277f1a41d5b8905d3 (patch)
tree4279ccbffa71e2a0697c866471a0f02e12148c58 /scilab/modules/javasci
parent4c6a4300d0c9a42b71fb8572e6a656ee3bcb3bdf (diff)
downloadscilab-8b7ac05e63459066060daee277f1a41d5b8905d3.zip
scilab-8b7ac05e63459066060daee277f1a41d5b8905d3.tar.gz
MSDOS replaced by getos() == 'Windows'
Diffstat (limited to 'scilab/modules/javasci')
-rw-r--r--scilab/modules/javasci/tests/nonreg_tests/java.sci4
-rw-r--r--scilab/modules/javasci/tests/unit_tests/java.sci4
2 files changed, 4 insertions, 4 deletions
diff --git a/scilab/modules/javasci/tests/nonreg_tests/java.sci b/scilab/modules/javasci/tests/nonreg_tests/java.sci
index 7b0b3a5..328ca37 100644
--- a/scilab/modules/javasci/tests/nonreg_tests/java.sci
+++ b/scilab/modules/javasci/tests/nonreg_tests/java.sci
@@ -9,7 +9,7 @@ function [rep,stat] = java(java_filename)
9 9
10 my_saved_path = pwd(); 10 my_saved_path = pwd();
11 11
12 if MSDOS then 12 if getos() == 'Windows' then
13 setenv('PATH',SCI+'\bin;' + getenv('PATH') + pathsep()); 13 setenv('PATH',SCI+'\bin;' + getenv('PATH') + pathsep());
14 end 14 end
15 15
@@ -17,7 +17,7 @@ function [rep,stat] = java(java_filename)
17 17
18 cd(path); 18 cd(path);
19 19
20 if MSDOS then 20 if getos() == 'Windows' then
21 commandline = jre_path() + "\bin\java -cp " .. 21 commandline = jre_path() + "\bin\java -cp " ..
22 + SCI + "\modules\javasci\jar\javasci.jar" .. 22 + SCI + "\modules\javasci\jar\javasci.jar" ..
23 + pathsep() + ". " + fname; 23 + pathsep() + ". " + fname;
diff --git a/scilab/modules/javasci/tests/unit_tests/java.sci b/scilab/modules/javasci/tests/unit_tests/java.sci
index 7b0b3a5..328ca37 100644
--- a/scilab/modules/javasci/tests/unit_tests/java.sci
+++ b/scilab/modules/javasci/tests/unit_tests/java.sci
@@ -9,7 +9,7 @@ function [rep,stat] = java(java_filename)
9 9
10 my_saved_path = pwd(); 10 my_saved_path = pwd();
11 11
12 if MSDOS then 12 if getos() == 'Windows' then
13 setenv('PATH',SCI+'\bin;' + getenv('PATH') + pathsep()); 13 setenv('PATH',SCI+'\bin;' + getenv('PATH') + pathsep());
14 end 14 end
15 15
@@ -17,7 +17,7 @@ function [rep,stat] = java(java_filename)
17 17
18 cd(path); 18 cd(path);
19 19
20 if MSDOS then 20 if getos() == 'Windows' then
21 commandline = jre_path() + "\bin\java -cp " .. 21 commandline = jre_path() + "\bin\java -cp " ..
22 + SCI + "\modules\javasci\jar\javasci.jar" .. 22 + SCI + "\modules\javasci\jar\javasci.jar" ..
23 + pathsep() + ". " + fname; 23 + pathsep() + ". " + fname;