Skip to content

Commit 57bc82e

Browse files
author
patr0nus
committed
Use shutil.copytree
1 parent 2a01375 commit 57bc82e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from . import config
22
import os
33
import subprocess
4-
from distutils.dir_util import copy_tree
4+
import shutil
55

66
os.chdir('node-{}'.format(config.nodeVersion))
77

8-
copy_tree('../patch/node', '.')
8+
shutil.copytree('../patch/node', '.', dirs_exist_ok=True)
99
subprocess.check_call(['patch', '-p1', '-i', '../patch/node.patch'])

0 commit comments

Comments
 (0)