From 4f9c040d7422791dcccc1fe54be9a7c76f525160 Mon Sep 17 00:00:00 2001 From: Craig Condon Date: Fri, 1 Feb 2013 11:39:52 -0800 Subject: [PATCH] properly parse relative path --- bin/nexe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/nexe b/bin/nexe index dcb8157..01bc732 100755 --- a/bin/nexe +++ b/bin/nexe @@ -24,7 +24,7 @@ options('r', { function toRelative(pt) { - return path.normalize(pt.replace(/^\./, process.cwd() + "/")); + return path.normalize(pt.replace(/^\./, process.cwd() + "/.")); }