mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
build: log warning on git too old for --update
This commit is contained in:
@@ -1117,6 +1117,10 @@ lunch aosp_{}-eng
|
||||
if flush:
|
||||
sys.stdout.flush()
|
||||
|
||||
def log_warn(self, msg):
|
||||
with self.print_lock:
|
||||
print('warning: {}'.format(msg), file=sys.stdout)
|
||||
|
||||
def is_subpath(self, subpath, parent):
|
||||
'''
|
||||
https://stackoverflow.com/questions/3812849/how-to-check-whether-a-directory-is-a-sub-directory-of-another-directory
|
||||
|
||||
Reference in New Issue
Block a user