mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Tools: build_binaries.py: honour BUILDLOGS environment variable
This commit is contained in:
parent
592c7acc4c
commit
cd45f3a14c
@ -673,6 +673,10 @@ is bob we will attempt to checkout bob-AVR'''
|
||||
self.progress("Removing (%s)" % (self.tmpdir,))
|
||||
shutil.rmtree(self.tmpdir)
|
||||
|
||||
def buildlogs_dirpath(self):
|
||||
return os.getenv("BUILDLOGS",
|
||||
os.path.join(os.getcwd(), "..", "buildlogs"))
|
||||
|
||||
def run(self):
|
||||
self.validate()
|
||||
|
||||
@ -706,8 +710,7 @@ is bob we will attempt to checkout bob-AVR'''
|
||||
|
||||
self.mkpath(os.path.join("binaries", self.hdate_ym,
|
||||
self.hdate_ymdhm))
|
||||
self.binaries = os.path.join(os.getcwd(), "..", "buildlogs",
|
||||
"binaries")
|
||||
self.binaries = os.path.join(self.buildlogs_dirpath(), "binaries")
|
||||
self.basedir = os.getcwd()
|
||||
self.error_strings = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user