Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: bb824f685d760f560bb3c3fb14af394ab3b3544f
      
https://github.com/tianocore/edk2/commit/bb824f685d760f560bb3c3fb14af394ab3b3544f
  Author: Feng, Bob C <bob.c.f...@intel.com>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M BaseTools/Source/Python/AutoGen/GenMake.py
    M BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py

  Log Message:
  -----------
  BaseTools: Fixed the mis-using strip() function issue.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2003

lstrip(parameter) do the match based on the char
in parameter but not only the whole parameter string.

In GenMake line 1082,
CmdSign.lstrip('/Fo') will strip the '/' or
'F' or 'o' on the left of CmdSign. This is not expected.

This patch is going to fix such issue.

Cc: Liming Gao <liming....@intel.com>
Signed-off-by: Bob Feng <bob.c.f...@intel.com>
Reviewed-by: Liming Gao <liming....@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to