summaryrefslogtreecommitdiff
path: root/libremakepkg
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-15 16:57:28 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-15 16:57:28 -0500
commit4c8953f03248d2084d98a9a357a67c370a89573c (patch)
tree451f414e4fbc43bb1ee19f6d393af562abfcfa43 /libremakepkg
parent77b766bc5be791ab97fee8c1a8fee14b3debcd2f (diff)
* log expression changed
Diffstat (limited to 'libremakepkg')
-rwxr-xr-xlibremakepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/libremakepkg b/libremakepkg
index 58dc352..2226f81 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' -a -e ${CHROOTDIR}/${chrootname}/build/*.log ] && {
+[ "$use_log" == 'y' -a -e ${CHROOTDIR}/${chrootname}/build/*.log ] && {
cp ${CHROOTDIR}/${chrootname}/build/*.log ./
}
exit $ev