From 5eecbd83ee8821d69d890e65473f706315b79604 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 9 May 2018 16:59:29 +0100 Subject: [PATCH] bin: make make_test_files.go work properly on Windows --- bin/make_test_files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/make_test_files.go b/bin/make_test_files.go index 805d1424f..6fe5311d0 100644 --- a/bin/make_test_files.go +++ b/bin/make_test_files.go @@ -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)