]> git.tdb.fi Git - builder.git/commitdiff
Use the cached cwd value
authorMikko Rasa <tdb@tdb.fi>
Mon, 16 Jul 2012 20:56:18 +0000 (23:56 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 16 Jul 2012 23:30:03 +0000 (02:30 +0300)
source/builder.cpp

index ff2f95257b22b98404b2061bb5aab01b7b6aadff..5909834ab411aa6bee12ac6b2bce18a734b1505b 100644 (file)
@@ -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;