From 8c0f17ae872f5ccff6f6b827aad81077e2db397b Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 3 Feb 2016 16:28:10 +0100 Subject: fixed some names after renaming the project to rhlibrary diff --git a/src/rhlibrary/main.go b/src/rhlibrary/main.go index b40ce9a..8221091 100644 --- a/src/rhlibrary/main.go +++ b/src/rhlibrary/main.go @@ -42,7 +42,7 @@ var ( ) func init() { - // if _, exists := os.LookupEnv("RHRDLIBRARY_DEBUG"); exists { + // if _, exists := os.LookupEnv("RHLIBRARY_DEBUG"); exists { rhdl.SetOutput(os.Stderr) // } } @@ -67,8 +67,8 @@ func (s *envStringValue) Get() interface{} { return string(*s) } func (s *envStringValue) String() string { return fmt.Sprintf("%s", *s) } func main() { - rdconf := newEnvStringValue("RHRDLIBRARY_RD_CONF", "/etc/rd.conf") - flag.Var(rdconf, "rdconf", "path to the Rivendell config file (environment: RHRDLIBRARY_RD_CONF)") + rdconf := newEnvStringValue("RHLIBRARY_RD_CONF", "/etc/rd.conf") + flag.Var(rdconf, "rdconf", "path to the Rivendell config file (environment: RHLIBRARY_RD_CONF)") help := flag.Bool("help", false, "show usage") flag.Parse() -- cgit v0.10.2