2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Fix ordering of chmod arguments

This commit is contained in:
Jarrod Johnson 2021-11-16 11:42:46 -05:00
parent bd9c261534
commit 10c019df2a

View File

@ -531,7 +531,7 @@ class DebHandler(OsHandler):
srcdir = os.path.join(mydir, 'initramfs-tools')
targdir = os.path.join(self.targpath, 'etc/initramfs-tools')
shutil.copytree(srcdir, targdir)
os.chmod(0o755, os.path.join(targdir, 'hooks/confluent'))
os.chmod(os.path.join(targdir, 'hooks/confluent'), 0o755)
cmd = ['debootstrap', '--include={0}'.format(','.join(self.includepkgs)), self.codename, self.targpath]
subprocess.check_call(cmd)