Make scripts work from $WORKSPACE/BaseTools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4152 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten
2007-10-17 02:19:35 +00:00
parent b2401e6e1f
commit 6e98e26326
2 changed files with 12 additions and 6 deletions

View File

@@ -11,11 +11,11 @@
# Setup the environment for unix-like systems running a bash-like shell.
# This file must be "sourced" not merely executed. For example: ". edksetup.sh"
if [ ! -e ./Tools/BaseTools/BuildEnv.py ]
if [ ! -e ./BaseTools/BuildEnv.py ]
then
echo Run this script from the base of your tree. For example:
echo " cd /Path/To/Edk/Root"
echo " . Tools/BuildEnv"
echo " . BaseTools/BuildEnv"
return
fi
@@ -23,7 +23,7 @@ fi
# First, we run a python tool that will ask the user to configure
# the environment in a (relatively) user friendly manner.
#
python ./Tools/BaseTools/BuildEnv.py $*
python ./BaseTools/BuildEnv.py $*
#
# The python tool will write ./Conf/BuildEnv.sh to actually configure