From 02f7d2946b3e93ad9eedab1646411e311b2d90ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Sat, 15 Sep 2018 00:52:15 +0100 Subject: [PATCH] build-buildroot: fix is LD_LIBRARY_PATH is not defined confiure: install rsync for docker --- common.py | 3 ++- configure | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common.py b/common.py index b33e171..eecf2a7 100644 --- a/common.py +++ b/common.py @@ -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: diff --git a/configure b/configure index b8c24af..b8c12fd 100755 --- a/configure +++ b/configure @@ -44,6 +44,7 @@ cpio \ expect \ git \ moreutils \ +rsync \ tmux \ unzip \ vinagre \