From: Michael Tremer Date: Tue, 9 Jul 2024 21:22:23 +0000 (+0000) Subject: make.sh: Remove the PWD variable X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94b744812b800e931e09cd1854808067a1af3201;p=people%2Fms%2Fipfire-2.x.git make.sh: Remove the PWD variable Signed-off-by: Michael Tremer --- 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 )) ;;