diff --git a/src/build/libroot/fs.cpp b/src/build/libroot/fs.cpp index d6b140bda2..268954fc7b 100644 --- a/src/build/libroot/fs.cpp +++ b/src/build/libroot/fs.cpp @@ -266,7 +266,7 @@ normalize_dir_path(const char *path, string &normalizedPath) if (getcwd(pwd, sizeof(pwd)) == NULL) return B_ERROR; - normalizedPath += pwd; + normalizedPath = pwd; } const char *end = &path[pathLen];