summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 10:36:53 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 10:36:53 -0300
commit35589fb80b8f04633d56502bd526f6ab35746aaf (patch)
treed8d1b4061b363389124819852678badb062f6fdf /libremakepkg
parentc40f076fa591777679821c46342c2217e50d6ffb (diff)
parent77b766bc5be791ab97fee8c1a8fee14b3debcd2f (diff)
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
Diffstat (limited to 'libremakepkg')
-rwxr-xr-xlibremakepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/libremakepkg b/libremakepkg
index af18e8e..58dc352 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -89,7 +89,7 @@ msg "Creating the package"
makechrootpkg $_CLEAN -r ${CHROOTDIR} -l "${chrootname}" $_PKGINSTALL -- $_MAKEPKG_ARGS
ev=$? # exit value
-[ $ev -ne 0 -a "$use_log" == 'y' ] && {
+[ $ev -ne 0 -a "$use_log" == 'y' -a -e ${CHROOTDIR}/${chrootname}/build/*.log ] && {
cp ${CHROOTDIR}/${chrootname}/build/*.log ./
}
exit $ev