From c879511377bdb76615b58b212f030e82fb88d3be Mon Sep 17 00:00:00 2001 From: Pacien Date: Mon, 1 Jul 2013 12:42:28 +0200 Subject: Replace file manipulation functions by the fcmd package --- main.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 2c0cf81..9b6bf8a 100644 --- a/main.go +++ b/main.go @@ -22,6 +22,7 @@ package main import ( "flag" "fmt" + "github.com/Pacien/fcmd" "strings" ) @@ -35,6 +36,8 @@ var settings struct { } func init() { + fcmd.DefaultPerm = 0755 // -rwxr-xr-x + // read settings settings.mode = flag.String("mode", "compiled", "compiled|interactive|dynamic") settings.sourceDir = flag.String("source", ".", "Path to sources directory.") -- cgit v1.2.3