https://src.bluestatic.org
/
armadillo.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d94460
)
Last compile error
author
Robert Sesek <rsesek@bluestatic.org>
Tue, 3 Apr 2012 13:13:54 +0000
(09:13 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Tue, 3 Apr 2012 13:32:06 +0000
(09:32 -0400)
main.go
patch
|
blob
|
history
diff --git
a/main.go
b/main.go
index 8109fd53b39f90c78c79338d23699b9c370f3744..7cb55e7ebcef189413aaf48eb5819333c508c931 100644
(file)
--- a/
main.go
+++ b/
main.go
@@
-30,7
+30,7
@@
func main() {
fmt.Printf("Reading configuration from %v\n", *configPath)
if len(*configPath) > 0 {
*configPath = strings.Replace(*configPath, "~", "$HOME", 1)
- *configPath = os.
ShellExpand
(*configPath)
+ *configPath = os.
ExpandEnv
(*configPath)
error := config.ReadFromFile(*configPath, configuration)
if error != nil {
fmt.Printf("Error while reading configuration: %v\n", error)