From: Michael Tremer Date: Tue, 9 Jul 2024 21:22:23 +0000 (+0000) Subject: make.sh: Remove the PWD variable X-Git-Tag: v2.29-core188~10^2~271 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9bdc9a5b8062520ec4170d777712134230057785;p=ipfire-2.x.git make.sh: Remove the PWD variable Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index d411a1966d..a26b472877 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 )) ;;