fix synax error for distro
This commit is contained in:
@@ -133,7 +133,7 @@ class Command(sunhpc.commands.create.command):
|
|||||||
mirrors = distro.getMirrors()
|
mirrors = distro.getMirrors()
|
||||||
fullmirror = mirrors[0].getRollsPath()
|
fullmirror = mirrors[0].getRollsPath()
|
||||||
# modify all dirs mode 755
|
# 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):
|
if self.arch != arch and os.path.exists(dist):
|
||||||
shutil.move(os.path.join(tempdist, arch), os.path.join(dist, arch))
|
shutil.move(os.path.join(tempdist, arch), os.path.join(dist, arch))
|
||||||
|
|||||||
Reference in New Issue
Block a user