diff options
Diffstat (limited to 'commands/genman.go')
-rw-r--r-- | commands/genman.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/genman.go b/commands/genman.go index e12d02773..d1f54ae31 100644 --- a/commands/genman.go +++ b/commands/genman.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Hugo Authors. All rights reserved. +// Copyright 2016 The Hugo Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -41,9 +41,9 @@ in the "man" directory under the current directory.`, if !strings.HasSuffix(genmandir, helpers.FilePathSeparator) { genmandir += helpers.FilePathSeparator } - if found, _ := helpers.Exists(genmandir, hugofs.OsFs); !found { + if found, _ := helpers.Exists(genmandir, hugofs.Os()); !found { jww.FEEDBACK.Println("Directory", genmandir, "does not exist, creating...") - hugofs.OsFs.MkdirAll(genmandir, 0777) + hugofs.Os().MkdirAll(genmandir, 0777) } cmd.Root().DisableAutoGenTag = true |