Commit 91251aad authored by Erik Wilson's avatar Erik Wilson Committed by Darren Shepherd

Fix asset lookup of HOME directory

Return the directory name if assets are located in HOME, so we can properly set the PATH for binary lookup.
parent 5ea52550
......@@ -114,7 +114,7 @@ func extract(dataDir string) (string, error) {
asset, dir = getAssetAndDir(dataDir)
if _, err := os.Stat(dir); err == nil {
logrus.Debugf("Asset dir %s", dir)
return "", nil
return dir, nil
}
logrus.Infof("Preparing data dir %s", dir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment