arşiv içerisinden çıkanları bir şekilde öğrenmemiz gerekiyor!
This commit is contained in:
@@ -54,6 +54,10 @@ class PisiBuild:
|
||||
|
||||
self.actionScript = open( os.path.dirname( self.pspecfile ) + '/' + 'actions' ).read()
|
||||
|
||||
# FIXME: It's wrong to assume that unpacked archive
|
||||
# will create a name-version top-level directory.
|
||||
# Archive module should give the exact location.
|
||||
# (from the assumption is evil dept.)
|
||||
os.chdir( config.build_work_dir( self.spec.source.name, self.spec.source.version, self.spec.source.release ) + "/" + self.spec.source.name + "-" + self.spec.source.version)
|
||||
locals = globals = {}
|
||||
exec compile( self.actionScript , "error", "exec" ) in locals,globals
|
||||
|
||||
Reference in New Issue
Block a user