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-Tag: 0.4.dev-20120318~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a0b2c7ba25874d59980c03bc74359a05e32c4822;p=oweals%2Fminetest.git Attempt to fix RUN_IN_PLACE autodetection on Linux --- diff --git a/src/porting.cpp b/src/porting.cpp index f2ca601eb..92615d77a 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 \""<