]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Regression bug Linux script used windows format
authorYunhua Feng <yunhuax.feng@intel.com>
Fri, 14 Sep 2018 02:54:59 +0000 (10:54 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 18 Sep 2018 01:40:30 +0000 (09:40 +0800)
regression by 15e20228258c1714cd90207a52101a5b1b54cd2c
and 9f3594782de9051cbf599f9af006903ed3f6669e
Linux execute script must use '\n' not '\r\n' for end of line

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/BinWrappers/PosixLike/BPDG
BaseTools/BinWrappers/PosixLike/GenFds

index bca1bae96af7c625a74d0dbfd6498233a64c3e71..276c7ea20733d78a8ebd1fe1152f6e54b1ffc4ce 100755 (executable)
@@ -11,4 +11,4 @@ dir=$(dirname "$full_cmd")
 cmd=${full_cmd##*/}
 
 export PYTHONPATH="$dir/../../Source/Python${PYTHONPATH:+:"$PYTHONPATH"}"
-exec "${python_exe:-python}" -m $cmd.$cmd "$@"\r
+exec "${python_exe:-python}" -m $cmd.$cmd "$@"
index bca1bae96af7c625a74d0dbfd6498233a64c3e71..276c7ea20733d78a8ebd1fe1152f6e54b1ffc4ce 100755 (executable)
@@ -11,4 +11,4 @@ dir=$(dirname "$full_cmd")
 cmd=${full_cmd##*/}
 
 export PYTHONPATH="$dir/../../Source/Python${PYTHONPATH:+:"$PYTHONPATH"}"
-exec "${python_exe:-python}" -m $cmd.$cmd "$@"\r
+exec "${python_exe:-python}" -m $cmd.$cmd "$@"