Use absolute paths for running extensions found in .aya
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/aya/trunk@58 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
@@ -299,7 +299,7 @@ func buildAll(watch bool) {
|
|||||||
func init() {
|
func init() {
|
||||||
// prepend .aya to $PATH, so plugins will be found before OS commands
|
// prepend .aya to $PATH, so plugins will be found before OS commands
|
||||||
p := os.Getenv("PATH")
|
p := os.Getenv("PATH")
|
||||||
p = AYADIR + ":" + p
|
p = os.Getenv("PWD") + "/" + AYADIR + ":" + p
|
||||||
os.Setenv("PATH", p)
|
os.Setenv("PATH", p)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user