fiveisprime / atom-make-runner

Make runner for the Atom editor.
MIT License
5 stars 4 forks source link

problem with relative paths #6

Open nylki opened 10 years ago

nylki commented 10 years ago

Hi there, make-runner seems to have problems with relative paths somehow. In my makefile I execute pandoc. I had to change it to the absolute path in /usr/local/bin because it couldn't be found in /usr/bin. Even after adjusting I had some problem as pandoc itselfs calls some programs by their relative names that should be found via PATH.

The output in the status-line for a further but same problem:

/usr/local/bin/pandoc -s -f markdown+superscript -V geometry:"left=2.5cm, right=4cm" -V mainfont=Scala-Regular -V biblio-title=Literaturverzeichnis -V lang=german -V linkcolor=black -V citecolor=black -V links-as-notes -V linestretch=1.4 --number-sections --latex-engine=xelatex --toc --csl=/Users/tom/.pandoc/csl/foerster.csl --bibliography=/Users/tom/bwgowncloud/Uni/Kunstgeschichte/Bachelorarbeit/BA_bibliography.bib bachelorarbeit.md -o bachelorarbeit.pdf
pandoc: Filter pandoc-citeproc not found
make: *** [pandoc] Error 85
danlshields commented 9 years ago

You can add /usr/local/bin to the PATH variable in Atom by adding this line to your init script:

process.env.PATH += ':/usr/local/bin'