summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkelvin <xiubuzhe@sina.com>2023-12-19 15:52:30 +0800
committerkelvin <xiubuzhe@sina.com>2023-12-19 15:52:30 +0800
commite17ec5a485ec6452b03e29e1215de2281699b7d6 (patch)
treefe6723d972a09232b35eb6ef48c681716cef7c4a /lib
parent03a68da0291678acf7abc87742d264d20011a4da (diff)
downloadsunhpc-e17ec5a485ec6452b03e29e1215de2281699b7d6.tar.gz
sunhpc-e17ec5a485ec6452b03e29e1215de2281699b7d6.tar.bz2
sunhpc-e17ec5a485ec6452b03e29e1215de2281699b7d6.zip
fix synax error for distro
Diffstat (limited to 'lib')
-rw-r--r--lib/sunhpc/commands/create/distro/__init__.py2
1 files changed, 1 insertions, 1 deletions
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))