bin: make make_test_files.go work properly on Windows

s3-about
Nick Craig-Wood 2018-05-09 16:59:29 +01:00
parent e42edc8e8c
commit 5eecbd83ee
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ func (d *dir) createDirectories() {
// list the directory heirachy
func (d *dir) list(path string, output []string) []string {
dirPath := path + "/" + d.name
dirPath := filepath.Join(path, d.name)
output = append(output, dirPath)
for _, subDir := range d.children {
output = subDir.list(dirPath, output)