Commit 612d0e72 authored by Luca Giambonini's avatar Luca Giambonini

do not cp the log files but use instead the LOGDEST configuration in the makepkg.conf

with this change, in case of failure we can catch the log files correctly
parent 38200560
......@@ -249,7 +249,6 @@ function build_packages() {
pushd $p
_log command "Building pkg: $p"
_do makepkg --noconfirm --rmdeps --noprogressbar --nosign --syncdeps --cleanbuild --log --config ~/.makepkg.conf
_do cp *.log ../_logs/
popd
done
......
......@@ -46,6 +46,8 @@ MAKEFLAGS=\"-j$(($(nproc)+1))\"
PKGDEST=$PWD/_repo/$local_repo_name
#-- Source cache: specify a fixed directory where source files will be cached
SRCDEST=$PWD/_sources
#-- Log cache: directory where the log files are stored
LOGDEST=$PWD/_logs
# variable required by makepkg (repo-add)
CHROOT=$local_repo_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment