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:
parent
4cc14573b6
commit
c069a82124
@ -299,7 +299,7 @@ func buildAll(watch bool) {
|
||||
func init() {
|
||||
// prepend .aya to $PATH, so plugins will be found before OS commands
|
||||
p := os.Getenv("PATH")
|
||||
p = AYADIR + ":" + p
|
||||
p = os.Getenv("PWD") + "/" + AYADIR + ":" + p
|
||||
os.Setenv("PATH", p)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user