mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-26 17:53:59 -04:00
Fix executable directory path
This commit is contained in:
@@ -19,7 +19,7 @@ func PluginFolders(dirs ...string) []string {
|
||||
if path, err := os.Executable(); err != nil {
|
||||
log.Printf("[ERR] Error finding executable: %v", err)
|
||||
} else {
|
||||
res = append(res, path)
|
||||
res = append(res, filepath.Dir(path))
|
||||
}
|
||||
|
||||
res = append(res, dirs...)
|
||||
|
||||
Reference in New Issue
Block a user