Ricreato distruttore.
This commit is contained in:
parent
565c2d9dce
commit
52860c8a62
3
build.py
3
build.py
|
@ -110,6 +110,8 @@ class Build(object):
|
|||
# Copying built image to final directory
|
||||
subprocess.run("find . -iname '*.AppImage' -exec cp {} %s \;" % outdir, shell = True)
|
||||
os.chdir('/tmp')
|
||||
|
||||
def __del__(self):
|
||||
del self.__builddir__
|
||||
|
||||
|
||||
|
@ -127,5 +129,4 @@ if __name__ == '__main__':
|
|||
b = Build(sys.argv[1], sys.argv[2], sys.argv[3])
|
||||
b.download()
|
||||
b.build(sys.argv[4])
|
||||
|
||||
del b
|
||||
|
|
Loading…
Reference in New Issue