mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-25 22:02:16 +00:00
fix(unify-backend): remove leading './' from file paths in unify script to ensure correct file copying
This commit is contained in:
@@ -21,6 +21,7 @@ fi
|
||||
unified=0
|
||||
|
||||
while IFS= read -r -d '' rel; do
|
||||
rel="${rel#./}"
|
||||
arm64_file="$ARM64_DIR/$rel"
|
||||
x64_file="$X64_DIR/$rel"
|
||||
|
||||
@@ -38,7 +39,7 @@ while IFS= read -r -d '' rel; do
|
||||
cp "$arm64_file" "$x64_file"
|
||||
echo " unified: $rel"
|
||||
unified=$((unified + 1))
|
||||
done < <(cd "$ARM64_DIR" && find . -type f -print0 | sed -z 's|^\./||')
|
||||
done < <(cd "$ARM64_DIR" && find . -type f -print0)
|
||||
|
||||
if [[ $unified -gt 0 ]]; then
|
||||
echo "unify-backend-plain-files: copied $unified file(s) from arm64 → x64"
|
||||
|
||||
Reference in New Issue
Block a user