Commit 43bd15e5b2959fcf690b01946edab55ca59ca2bc

Tracey Emery 2020-01-29T23:27:49

whoops, add back leading slash

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index 3cbdacb..0278c5f 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -2656,7 +2656,7 @@ gw_get_repo_tree(struct gw_trans *gw_trans)
 					goto done;
 				}
 			} else {
-				if (asprintf(&build_folder, "%s",
+				if (asprintf(&build_folder, "/%s",
 				    got_tree_entry_get_name(te)) == -1)
 					goto done;
 			}