summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-02-08 17:01:51 +0100
committerBenoit Foucher <benoit@zeroc.com>2018-02-08 17:01:51 +0100
commitd4bf91f364f65869102419205879117e6469aafe (patch)
tree9a69a0a0baabeebd9d91fcea4e11ae8dd50cf586 /scripts/Util.py
parentFixed UWP controller to also run when in the background (ICE-8305) (diff)
downloadice-d4bf91f364f65869102419205879117e6469aafe.tar.bz2
ice-d4bf91f364f65869102419205879117e6469aafe.tar.xz
ice-d4bf91f364f65869102419205879117e6469aafe.zip
Fixed matlab check for testing
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Util.py b/scripts/Util.py
index ec651ef6f1e..21f86b5beff 100644
--- a/scripts/Util.py
+++ b/scripts/Util.py
@@ -3511,7 +3511,7 @@ except:
# Check if Matlab is installed and eventually add the Matlab mapping
#
try:
- run("matlab -help")
+ run("where matlab" if isinstance(platform, Windows) else "which matlab")
Mapping.add("matlab", MatlabMapping())
except:
pass