From 3070376fb670e6ee8a4e5c5d512a8409032733c4 Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Thu, 3 Jul 2025 20:37:50 +0700 Subject: [PATCH] dont use 32 bit objects --- src/SPC/builder/linux/SystemUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/builder/linux/SystemUtil.php b/src/SPC/builder/linux/SystemUtil.php index 0d808f9d..443f3ce7 100644 --- a/src/SPC/builder/linux/SystemUtil.php +++ b/src/SPC/builder/linux/SystemUtil.php @@ -251,7 +251,7 @@ class SystemUtil foreach ($objects as $obj) { $located = null; foreach ($paths as $base) { - $output = shell_exec("find {$base} -name {$obj} -print -quit 2>/dev/null"); + $output = shell_exec("find {$base} -name {$obj} 2>/dev/null | grep -v '/32/' | head -n 1"); $line = trim((string) $output); if ($line !== '') { $located = $line;