var symlink = require('./force_symlink')
var dirname = require('path').dirname
var relative = require('path').relative

/*
 * Relative symlink
 */

module.exports = function relSymlink (src, dest) {
  var rel = relative(dirname(dest), src)
  return symlink(rel, dest)
}

@@ -198,17 +198,105 @@
 %7B%0A  
-var rel =
+// Turn it into a relative path when not in win32.%0A  var rel = process.platform === 'win32'%0A    ?
  rel
@@ -321,16 +321,27 @@
 ), src)%0A
+    : src%0A%0A
   return
@@ -358,12 +358,24 @@
 el, dest
+, 'junction'
 )%0A%7D%0A

Support windows junctions