From 94b744812b800e931e09cd1854808067a1af3201 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 9 Jul 2024 21:22:23 +0000 Subject: [PATCH] make.sh: Remove the PWD variable Signed-off-by: Michael Tremer --- make.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/make.sh b/make.sh index d411a1966..a26b47287 100755 --- a/make.sh +++ b/make.sh @@ -45,8 +45,6 @@ HOST_ARCH="${HOSTTYPE}" LC_ALL=POSIX PS1='\u:\w$ ' -PWD=$(pwd) - # Are we reading from/writing to a terminal? is_terminal() { [ -t 0 ] && [ -t 1 ] && [ -t 2 ] @@ -2274,10 +2272,10 @@ build) print_headline "Checking Logfiles for new Files" - cd $BASEDIR + pushd "${BASEDIR}" &>/dev/null tools/checknewlog.pl tools/checkrootfiles - cd $PWD + popd &>/dev/null print_build_summary $(( SECONDS - START_TIME )) ;; -- 2.39.5