Signed-off-by: Rebecca Cran <rebe...@bsdio.com> Reviewed-by: Laszlo Ersek <ler...@redhat.com> --- edksetup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/edksetup.sh b/edksetup.sh index ab58fe4a6e..752e47e7cb 100755 --- a/edksetup.sh +++ b/edksetup.sh @@ -49,11 +49,11 @@ function SetWorkspace() return 0 fi - if [ ! ${BASH_SOURCE[0]} -ef ./edksetup.sh ] && [ -z "$PACKAGES_PATH" ] + if [ ! ${BASH_SOURCE[0]} -ef ./$SCRIPTNAME ] && [ -z "$PACKAGES_PATH" ] then echo Run this script from the base of your tree. For example: echo " cd /Path/To/Edk/Root" - echo " . edksetup.sh" + echo " . $SCRIPTNAME" return 1 fi -- 2.22.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#43799): https://edk2.groups.io/g/devel/message/43799 Mute This Topic: https://groups.io/mt/32493784/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-