diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-15 10:36:53 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-06-15 10:36:53 -0300 |
commit | 35589fb80b8f04633d56502bd526f6ab35746aaf (patch) | |
tree | d8d1b4061b363389124819852678badb062f6fdf /libremakepkg | |
parent | c40f076fa591777679821c46342c2217e50d6ffb (diff) | |
parent | 77b766bc5be791ab97fee8c1a8fee14b3debcd2f (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
Diffstat (limited to 'libremakepkg')
-rwxr-xr-x | libremakepkg | 2 |
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 |