build-buildroot: fix is LD_LIBRARY_PATH is not defined

confiure: install rsync for docker
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-09-15 00:52:15 +01:00
parent e79dd2c786
commit 02f7d2946b
2 changed files with 3 additions and 1 deletions

View File

@@ -277,7 +277,8 @@ def run_cmd(
env = os.environ.copy()
env.update(extra_env)
for key in delete_env:
del env[key]
if key in env:
del env[key]
if show_cmd:
print_cmd(cmd, cmd_file, extra_env=extra_env)
# Otherwise Ctrl + C gives: