]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/BuildEnv: override "set -C" (noclobber) in sourcing shell env
authorLaszlo Ersek <lersek@redhat.com>
Sun, 8 Jul 2012 09:55:50 +0000 (11:55 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 18 Oct 2017 09:34:03 +0000 (11:34 +0200)
commit4bbf39632c840e32996e8d43137f23fb43282859
treea38461c5e4afe524a30599f4beb5a16c18dce151
parent11b74aa4724af1fea95e1b28a6bf605ed22df28f
BaseTools/BuildEnv: override "set -C" (noclobber) in sourcing shell env

The BuildEnv utility is sourced (executed by the user's interactive shell)
when the user sets up the build session. Some users like to set -C
(noclobber) for some additional safety in their shells, which trips up
BuildEnv. Update the redirection operator so that it overrides noclobber.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Thomas Huth <thuth@redhat.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
BaseTools/BuildEnv