commit - 95bd51cf44cd31b96ac78d55cb930822116f86f5
commit + a5594e371c087faf8fe261c5b9cf1dcb4d2ed7b3
blob - 4da7f33bb92dc25f0a63ba6349c47ffd2ddfdcfc
blob + ee44f7abf7c46a75a341d93e2dd8e7384c325355
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
}
if (S_ISDIR(mode)) {
- if (asprintf(&build_folder, "%s%s%s",
+ if (asprintf(&build_folder, "%s/%s",
gw_trans->repo_folder ? gw_trans->repo_folder : "",
- gw_trans->repo_folder ? "/" : "",
got_tree_entry_get_name(te)) == -1) {
error = got_error_from_errno(
"asprintf");