From e17ec5a485ec6452b03e29e1215de2281699b7d6 Mon Sep 17 00:00:00 2001 From: kelvin Date: Tue, 19 Dec 2023 15:52:30 +0800 Subject: fix synax error for distro --- lib/sunhpc/commands/create/distro/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sunhpc/commands/create/distro/__init__.py b/lib/sunhpc/commands/create/distro/__init__.py index 8581793..5378dee 100644 --- a/lib/sunhpc/commands/create/distro/__init__.py +++ b/lib/sunhpc/commands/create/distro/__init__.py @@ -133,7 +133,7 @@ class Command(sunhpc.commands.create.command): mirrors = distro.getMirrors() fullmirror = mirrors[0].getRollsPath() # modify all dirs mode 755 - os.system(r'find %s -type d ' % (fullmirror) + '-exec chmod -R 0755 {} \;') + os.system(r'find %s -type d ' % (fullmirror) + r'-exec chmod -R 0755 {} \;') if self.arch != arch and os.path.exists(dist): shutil.move(os.path.join(tempdist, arch), os.path.join(dist, arch)) -- cgit v1.2.3