mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2026-08-17 16:34:54 -05:00
chore: avoid printing for unchanged files
This commit is contained in:
+5
-3
@@ -13,7 +13,9 @@ find "kernel-open" "src" -type f | while IFS= read -r relpath; do
|
||||
fi
|
||||
|
||||
mkdir -p "$(dirname "$dst")"
|
||||
cp "$src" "$dst"
|
||||
echo "Updated $relpath"
|
||||
done
|
||||
|
||||
if ! cmp -s "$src" "$dst"; then
|
||||
cp "$src" "$dst"
|
||||
echo "Updated $relpath"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user