1// ============================================================================= 2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 3// Copyright (C) 2009 - DIGITEO - Pierre MARECHAL 4// 5// This file is distributed under the same license as the Scilab package. 6// ============================================================================= 7// <-- CLI SHELL MODE --> 8// <-- Non-regression test for bug 4666 --> 9// 10// <-- Bugzilla URL --> 11// http://bugzilla.scilab.org/show_bug.cgi?id=4666 12// 13// <-- Short Description --> 14// SCIHOME is not well defined if scilab has been launched in another scilab session 15my_dir = pathconvert(SCIHOME+"/bug_4666"); 16if mkdir(my_dir) <> 1 then bugmes();quit;end 17if isdir(my_dir) then 18 rmdir(my_dir); 19end 20