summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibremakepkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/libremakepkg b/libremakepkg
index 44c0d29..8678e9a 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 {} ./ \;
}