mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Fix ordering of chmod arguments
This commit is contained in:
parent
bd9c261534
commit
10c019df2a
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user