shithub: hugo

Download patch

ref: 7436829b82449fff6da85e82aac0e9b353b24172
parent: ec4b6c03a8139988d6456195fe098b3dcfaca91d
author: Tatsushi Demachi <[email protected]>
date: Fri Nov 21 04:40:45 EST 2014

Use current working dir as WorkingDir instead of hugo executable's dir

--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -190,7 +190,7 @@
 	if Source != "" {
 		viper.Set("WorkingDir", Source)
 	} else {
-		dir, _ := helpers.FindCWD()
+		dir, _ := os.Getwd()
 		viper.Set("WorkingDir", dir)
 	}