Add chmod 0755 to hugo executable

pull/68/head
Henrique Dias 2016-03-05 16:09:55 +00:00
parent 7c1a1c4f23
commit 8769095d86
1 changed files with 7 additions and 0 deletions

View File

@ -122,6 +122,13 @@ func GetPath() string {
panic(err)
}
if err != nil {
fmt.Println(err)
os.Exit(-1)
}
err = os.Chmod(hugo, 0755)
if err != nil {
fmt.Println(err)
os.Exit(-1)