summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibremakepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/libremakepkg b/libremakepkg
index 7db0e3c..f7924f6 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -24,7 +24,7 @@
function copy_log { # copy logs if they exist
- find "${CHROOTDIR}/${CHROOT}/build/" -name "*\.log" -exec cp {} ./ \;
+ find "${CHROOTDIR}/${CHROOT}/build/" -maxdepth 1 -name "*\.log" -exec cp {} ./ \;
}