// ============================================================================= // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab // Copyright (C) ????-2008 - INRIA // // This file is distributed under the same license as the Scilab package. // ============================================================================= // <-- CLI SHELL MODE --> //=============================== d=dir('SCI/modules/core/macros/*.sci'); if d(2) == [] then bugmes();quit;end //=============================== if getos() == 'Windows' then d = dir('c:\'); else d = dir('/'); end if d(2) == [] then bugmes();quit;end //=============================== if getos() == 'Windows' then TMP = getenv('TMP'); else if isdir('/tmp') then TMP = '/tmp'; else TMP = TMPDIR; end d = dir(TMP); end if d(2) == [] then bugmes();quit;end //===============================