Skip to content

Commit

Permalink
Merge pull request #179 from techtonik/patch-1
Browse files Browse the repository at this point in the history
Windows - create Scripts dir if not exists
  • Loading branch information
ekalinin authored Jan 20, 2017
2 parents 580dd4b + bff06e0 commit 33135c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodeenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ def copy_node_from_prebuilt(env_dir, src_dir):
if is_WIN:
src_exe = join(src_dir, 'node.exe')
dst_exe = join(env_dir, 'Scripts', 'node.exe')
mkdir(join(env_dir, 'Scripts'))
callit(['copy', '/Y', '/L', src_exe, dst_exe], False, True)
else:
src_folder = src_dir + '/%s-v*/*' % prefix
Expand Down

0 comments on commit 33135c9

Please sign in to comment.