diff --git a/my-distro-ubuntu-20.04-lts/BldHelper.sh b/my-distro-ubuntu-20.04-lts/BldHelper.sh index 35608b51..21701b3d 100755 --- a/my-distro-ubuntu-20.04-lts/BldHelper.sh +++ b/my-distro-ubuntu-20.04-lts/BldHelper.sh @@ -19,7 +19,7 @@ WorkingDir="/home/$SUDO_USER/My-distro-configs-ubuntu/my-distro-ubuntu-20.04-lts # Execute the ISO building script cd ${WorkingDir} -./build.sh &> /tmp/build_log.txt +./build.sh 2>&1 | tee /tmp/build_log.txt # Move and rename the ISO file cd build diff --git a/my-distro-ubuntu-22.04-lts/BldHelper.sh b/my-distro-ubuntu-22.04-lts/BldHelper.sh index e6fbd0a1..d6c755f1 100755 --- a/my-distro-ubuntu-22.04-lts/BldHelper.sh +++ b/my-distro-ubuntu-22.04-lts/BldHelper.sh @@ -19,7 +19,7 @@ WorkingDir="/home/$SUDO_USER/My-distro-configs-ubuntu/my-distro-ubuntu-22.04-lts # Execute the ISO building script cd ${WorkingDir} -./build.sh &> /tmp/build_log.txt +./build.sh 2>&1 | tee /tmp/build_log.txt # Move and rename the ISO file cd build diff --git a/my-distro-ubuntu-23.04/BldHelper.sh b/my-distro-ubuntu-23.04/BldHelper.sh index 6289c7a7..f65f2604 100755 --- a/my-distro-ubuntu-23.04/BldHelper.sh +++ b/my-distro-ubuntu-23.04/BldHelper.sh @@ -19,7 +19,7 @@ WorkingDir="/home/$SUDO_USER/My-distro-configs-ubuntu/my-distro-ubuntu-23.04" # Execute the ISO building script cd ${WorkingDir} -./build.sh &> /tmp/build_log.txt +./build.sh 2>&1 | tee /tmp/build_log.txt # Move and rename the ISO file cd build