From f34eb509b1238ad15ea37215fa3f8937669db21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Tue, 29 Mar 2022 09:45:45 +0200 Subject: [PATCH] card-helpers.inc: rename _TMPDIR to BITBAKE_TMPDIR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- scripts/include/card-helpers.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/include/card-helpers.inc b/scripts/include/card-helpers.inc index 8a1d680..d9fc0b0 100644 --- a/scripts/include/card-helpers.inc +++ b/scripts/include/card-helpers.inc @@ -99,12 +99,12 @@ SelectCardDevice() { SelectDeployedFile() { if [ -z "$DeployedFile" ]; then GetBitbakeEnvVar "TMPDIR" - _TMPDIR="$BitbakeEnvVar" + BITBAKE_TMPDIR="$BitbakeEnvVar" # bitbake environment found? - if [ -z "$_TMPDIR" ]; then + if [ -z "$BITBAKE_TMPDIR" ]; then ErrorOut "Bitbake environment variable TMPDIR not found!" fi - DeployPath=${_TMPDIR}/deploy/images/${Machine} + DeployPath=${BITBAKE_TMPDIR}/deploy/images/${Machine} if [ ! -e ${DeployPath} ]; then echo "${style_yellow}${style_bold}DeployPath: ${DeployPath}${style_normal}" ErrorOut "Deploy path for ${Machine} not found! Wrong script started?"