fix "module not found" errors on Windows (#533)

hat tip to @opengl-8080 for the fix!
This commit is contained in:
Jeff Williams 2014-02-15 13:50:51 -08:00
parent 6d62a114bf
commit e486377ad5

View File

@ -2,9 +2,8 @@
SETLOCAL
REM jsdoc.js expects Unix-style paths without a trailing slash
REM jsdoc.js expects paths without a trailing slash
SET _BASEPATH=%~dp0
SET _BASEPATH=%_BASEPATH:\=/%
SET _BASEPATH=%_BASEPATH:~0,-1%
REM we need the ability to resolve paths relative to the user's working