mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
BaseTools: Fix the ending character for Linux script BuildEnv
Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Cc: Matthew Carlson <matthewfcarlson@gmail.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
8cb9b29684
commit
124f1dd1ee
@ -46,7 +46,7 @@ RestorePreviousConfiguration() {
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PREVIOUS_CONF_FILE=$CONF_PATH/BuildEnv.sh
|
PREVIOUS_CONF_FILE=$CONF_PATH/BuildEnv.sh
|
||||||
if [ -e $PREVIOUS_CONF_FILE ]
|
if [ -e $PREVIOUS_CONF_FILE ]
|
||||||
then
|
then
|
||||||
@ -198,17 +198,17 @@ AddEdkToolsToPath() {
|
|||||||
|
|
||||||
EDK_TOOLS_PATH_BIN=`GetEdkToolsPathBinDirectory`
|
EDK_TOOLS_PATH_BIN=`GetEdkToolsPathBinDirectory`
|
||||||
|
|
||||||
# check if the edk2basetools pip package is available
|
# check if the edk2basetools pip package is available
|
||||||
if $PYTHON_COMMAND -c "import edk2basetools" &> /dev/null; then
|
if $PYTHON_COMMAND -c "import edk2basetools" &> /dev/null; then
|
||||||
# if it is, use the pip version of the wrappers
|
# if it is, use the pip version of the wrappers
|
||||||
echo "Using Pip Basetools"
|
echo "Using Pip Basetools"
|
||||||
AddDirToStartOfPath $EDK_TOOLS_PATH/BinPipWrappers/PosixLike
|
AddDirToStartOfPath $EDK_TOOLS_PATH/BinPipWrappers/PosixLike
|
||||||
else
|
else
|
||||||
echo "Using EDK2 in-source Basetools"
|
echo "Using EDK2 in-source Basetools"
|
||||||
AddDirToStartOfPath $EDK_TOOLS_PATH/BinWrappers/PosixLike
|
AddDirToStartOfPath $EDK_TOOLS_PATH/BinWrappers/PosixLike
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
AddDirToStartOfPath $EDK_TOOLS_PATH_BIN
|
AddDirToStartOfPath $EDK_TOOLS_PATH_BIN
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user