summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorSamuel GOUGEON <sgougeon@free.fr>2020-12-23 19:58:46 +0100
committerClement DAVID <clement.david@esi-group.com>2021-02-12 11:59:09 +0100
commit8fb13c8d6ea21535b5afa9a7e35f6d7413e38eb9 (patch)
treef26204e6a2486c4b19291b18e723d94562d68d3a /scilab
parentfb164e7a38167a8efaedaa155b4db4357f0e8a5a (diff)
downloadscilab-8fb13c8d6ea21535b5afa9a7e35f6d7413e38eb9.zip
scilab-8fb13c8d6ea21535b5afa9a7e35f6d7413e38eb9.tar.gz
demo_gui() fixed for some Linux (w/o copyfile)
http://mailinglists.scilab.org/Scilab-users-file-permission-and-demo-gui-tp4041207.html Change-Id: Ic7736b379025e345a2947916937230286f688706
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/demo_tools/macros/demo_gui.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab/modules/demo_tools/macros/demo_gui.sci b/scilab/modules/demo_tools/macros/demo_gui.sci
index b0b3644..0e65bc7 100644
--- a/scilab/modules/demo_tools/macros/demo_gui.sci
+++ b/scilab/modules/demo_tools/macros/demo_gui.sci
@@ -55,7 +55,7 @@ function demo_gui()
55 File2 = TMPDIR + "/demo_gui_dockable.xml"; 55 File2 = TMPDIR + "/demo_gui_dockable.xml";
56 if r=="checked" then 56 if r=="checked" then
57 if ~isfile(File2) then 57 if ~isfile(File2) then
58 r = copyfile(File, File2); 58 mputl(mgetl(File), File2); // copyfile() sometimes keeps the no-writable status
59 doc = xmlRead(File2); 59 doc = xmlRead(File2);
60 xmlSetValues("/scilabgui/figure", .. 60 xmlSetValues("/scilabgui/figure", ..
61 ["dockable" "on" 61 ["dockable" "on"