Skip to content

Commit

Permalink
[FIX] Modification to support 2.0.20256 x86_64
Browse files Browse the repository at this point in the history
Note: This modification is cited from pull requests dheena2k2#6,
created by Oyefusi-Samuel.
I do not claim ownership of the idea for this modification.
  • Loading branch information
otischung committed Dec 9, 2024
1 parent 8e883d2 commit c786656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions URDF_Exporter_Ros2/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import os.path, re
from xml.etree import ElementTree
from xml.dom import minidom
from distutils.dir_util import copy_tree
from shutil import copytree
import fileinput
import sys

Expand Down Expand Up @@ -167,7 +167,7 @@ def create_package(package_name, save_dir, package_dir):
try: os.mkdir(save_dir + '/test')
except: pass

copy_tree(package_dir, save_dir)
copytree(package_dir, save_dir, dirs_exist_ok=True)

def update_setup_py(save_dir, package_name):
file_name = save_dir + '/setup.py'
Expand Down

0 comments on commit c786656

Please sign in to comment.