2 Copyright © 2010-2014, The AROS Development Team. All rights reserved.
10 #define APPNAME "AROSBootstrap.exe"
13 #define APPNAME "AROSBootstrap"
16 #include "filesystem.h"
18 int SetRootDirectory(void)
24 * If AROSBootstrap.exe is found in the current directory, this means the bootstrap
25 * was started in its own dir. Go one or two levels up in order to reach the root.
27 if (!stat(APPNAME
, &st
))
29 for (i
= 0; i
< 2; i
++)
35 if (!stat("AROS.boot", &st
))