mirror of
https://github.com/rclone/rclone.git
synced 2025-06-26 15:01:41 +02:00
bin: make make_test_files.go work properly on Windows
This commit is contained in:
parent
e42edc8e8c
commit
5eecbd83ee
@ -93,7 +93,7 @@ func (d *dir) createDirectories() {
|
|||||||
|
|
||||||
// list the directory heirachy
|
// list the directory heirachy
|
||||||
func (d *dir) list(path string, output []string) []string {
|
func (d *dir) list(path string, output []string) []string {
|
||||||
dirPath := path + "/" + d.name
|
dirPath := filepath.Join(path, d.name)
|
||||||
output = append(output, dirPath)
|
output = append(output, dirPath)
|
||||||
for _, subDir := range d.children {
|
for _, subDir := range d.children {
|
||||||
output = subDir.list(dirPath, output)
|
output = subDir.list(dirPath, output)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user