From: Perttu Ahola Date: Mon, 12 Mar 2012 22:51:33 +0000 (+0200) Subject: Attempt to fix RUN_IN_PLACE autodetection on Linux X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=a0b2c7ba25874d59980c03bc74359a05e32c4822;p=zefram%2Fminetest%2Fminetest_engine.git Attempt to fix RUN_IN_PLACE autodetection on Linux --- diff --git a/src/porting.cpp b/src/porting.cpp index f2ca601e..92615d77 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -246,9 +246,9 @@ void initializePaths() path_share = std::string(buf) + "/../share/" + PROJECT_NAME; //path_share = std::string(INSTALL_PREFIX) + "/share/" + PROJECT_NAME; if (!fs::PathExists(path_share)) { - dstream<<"WARNING: data path " << path_share << " not found!"; - path_share = std::string(buf) + "/../data"; - dstream<<" Trying " << path_share << std::endl; + dstream<<"WARNING: system-wide share not found at \""<