This commit is contained in:
Disassembler 2018-10-02 17:37:27 +02:00
parent 91ebd4193e
commit dbce751225
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -15,7 +15,7 @@ BUILD_ROOT = '/root/buildroot'
LXC_ROOT = '/var/lib/lxc' LXC_ROOT = '/var/lib/lxc'
def pack(pkg_file): def pack(pkg_file):
if os.path.is_dir(pkg_file): if os.path.isdir(pkg_file):
pkg_file = os.path.join(pkg_file, 'pkg') pkg_file = os.path.join(pkg_file, 'pkg')
# Prepare metadata # Prepare metadata
meta = {} meta = {}