2008-07-29 17:07:49 UTC
I have created a bash script file named
jsdoc in /usr/local/bin
--------------------------------
#!/bin/bash
perl /usr/local/lib/JSDoc-1.10.2/jsdoc.pl
------------------------------------------
and tried to use in next context
##################################################
pwd
/webap/d777/
ls
main js
jsdoc js
No sourcefiles supplied
Usage: jsdoc [OPTIONS] <js sourcefiles and/or directories>+
############################################################
The problem looks like
jsdoc.pl c works only when you start it from directory where it is installed.
Is any way to make it run as a command line tool from any place on the current computer.
Thank you