report more about what is really done
This commit is contained in:
parent
41eda434d9
commit
1a422bfd52
|
@ -305,6 +305,7 @@ def build_project(dist, arch, project, package, new):
|
|||
project['build_branch'].replace('/', '_'),
|
||||
arch)
|
||||
)
|
||||
print 'SOURCE_BUILD:', source_build
|
||||
if os.path.exists(source_build):
|
||||
source_opt = '-b'
|
||||
else:
|
||||
|
|
|
@ -85,7 +85,8 @@ def cat(file_path):
|
|||
return content
|
||||
|
||||
def touch(fname):
|
||||
with file(fname, 'a'):
|
||||
print 'TOUCH:', fname
|
||||
with open(fname, 'a'):
|
||||
os.utime(fname, None)
|
||||
|
||||
def error(msg, build_dir=None, exit_code=1):
|
||||
|
@ -97,6 +98,7 @@ def error(msg, build_dir=None, exit_code=1):
|
|||
def call(cmd):
|
||||
""" cmd: command line
|
||||
"""
|
||||
print 'CALL:', cmd
|
||||
rcode = subprocess.call(cmd, shell=True)
|
||||
if rcode != 0:
|
||||
error(cmd)
|
||||
|
|
Loading…
Reference in New Issue