Fix for press interpreting "." as "/"

This commit is contained in:
Tom Robinson committed 2010-02-20 23:01:06 -08:00
1 parent 0dd36b2275
commit 5f930ec840
1 file changed
+2 -2
+2 -2
View File
@@ -59,8 +59,8 @@ function main(args)
CPLogRegister(CPLogPrint);
// HACK: ensure trailing slashes for "relative" to work correctly
var rootPath = FILE.path(options.args[0]).join("").absolute();
var outputPath = FILE.path(options.args[1]).join("").absolute();
var rootPath = FILE.path(options.args[0]).absolute().join("");
var outputPath = FILE.path(options.args[1]).absolute().join("");
if (outputPath.exists()) {
if (options.force) {