From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: bsdio.com, ip: 65.103.231.193, mailfrom: rebecca@bsdio.com) Received: from muon.bsdio.com (muon.bsdio.com [65.103.231.193]) by groups.io with SMTP; Tue, 16 Jul 2019 09:53:39 -0700 Received: from muon.bsdio.com (localhost [127.0.0.1]) by muon.bsdio.com (Postfix) with ESMTP id 49A238029A; Tue, 16 Jul 2019 10:53:59 -0600 (MDT) Received: from muon.bsdio.com ([127.0.0.1]) by muon.bsdio.com (muon.bsdio.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id DVUvy3Eyi6Mg; Tue, 16 Jul 2019 10:53:58 -0600 (MDT) Received: from photon.int.bluestop.org (unknown [10.0.10.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by muon.bsdio.com (Postfix) with ESMTPSA; Tue, 16 Jul 2019 10:53:58 -0600 (MDT) From: rebecca@bsdio.com To: devel@edk2.groups.io, lersek@redhat.com, bob.c.feng@intel.com, liming.gao@intel.com, leif.lindholm@linaro.org, michael.d.kinney@intel.com, afish@apple.com Cc: Rebecca Cran Subject: [PATCH v3 2/6] edksetup.sh: Use $SCRIPTNAME consistently instead of 'edksetup.sh' Date: Tue, 16 Jul 2019 10:53:29 -0600 Message-Id: <20190716165333.57833-2-rebecca@bsdio.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190716165333.57833-1-rebecca@bsdio.com> References: <20190716165333.57833-1-rebecca@bsdio.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Signed-off-by: Rebecca Cran Reviewed-by: Laszlo Ersek --- 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 =20 - 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 =20 --=20 2.22.0