From: Mikko Rasa Date: Mon, 16 Jul 2012 20:56:18 +0000 (+0300) Subject: Use the cached cwd value X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=64f01c486e48f260a5d895092806ee341ef23198;p=builder.git Use the cached cwd value --- diff --git a/source/builder.cpp b/source/builder.cpp index ff2f952..5909834 100644 --- a/source/builder.cpp +++ b/source/builder.cpp @@ -187,7 +187,7 @@ Builder::Builder(int argc, char **argv): prefix = (FS::get_home_dir()/"local"/current_arch->get_name()).str(); } else - prefix = FS::getcwd()/prfx; + prefix = cwd/prfx; if(!temp_str.empty()) tempdir = temp_str;