mwjsduck-gen: Don't fail when running from different directory
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 14 Apr 2014 19:03:46 +0000 (21:03 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 18 Apr 2014 09:09:14 +0000 (11:09 +0200)
commitf80882eba6e826e6a83e3e6da06ddb26f70da58c
tree62fbade3e0bf952d0efa5576859f93115cb06cde
parentbbf40d791ec6745a3a72e44dada5ace85bb59818
mwjsduck-gen: Don't fail when running from different directory

* Do not directly use $0 in help output, use basename instead
* Do not use paths relative to the currect directory

(Full disclosure: I can't write bash.)

Change-Id: I4c73155cd691a2ddf134724e9df94e6594b78a02
maintenance/mwjsduck-gen