K
K
Krypt2013-03-16 21:01:18
Command line
Krypt, 2013-03-16 21:01:18

Problem with jslint paths from macports?

jslint runs from terminal but refuses to run from sh script.
In this case, the output of whereis looks rather strange:

Mac:~ krypt$ jslint
Usage : "jslint myscript.js option[=true]"
Mac:~ krypt$ whereis jslint
Mac:~ krypt$ whereis whereis
/usr/bin/whereis
Mac:~ krypt$

Script output: Where skjslint runs from terminal but refuses to run from sh. Whereis output looks like this: Mac:~ krypt$ jslint Usage: "jslint myscript.js option[=true]" Mac:~ krypt$ whereis jslint Mac:~ krypt$ whereis whereis /usr/bin/whereis Mac:~ krypt $ Script output: runlint.sh: line 2: jslint: command not found What could be the reason?
runlint.sh: line 2: jslint: command not found

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Slinko, 2013-03-16
@Krypt

Trywhich jslint

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question