diff --git a/buildpkg b/buildpkg index 4be0e21..6e6f92b 100755 --- a/buildpkg +++ b/buildpkg @@ -197,7 +197,7 @@ buildpackage() { pushd $SRC - (exec > >(tee -i $LOG_DIR/$name.log) ; exec 2>&1 ; set -e -x ; build) + (exec &> >(tee -i $LOG_DIR/$name.log) ; set -e -x ; build) if [ $? != 0 ]; then msgerr "Build ${color_red}$PKGNAME${color_reset} failed."