:pencli2: 修改文档.

This commit is contained in:
lijiahangmax
2025-12-22 18:23:03 +08:00
parent 5335a8d008
commit b207c5d253
2 changed files with 4 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ function modify_dockerfiles() {
if [ -f "$file" ]; then
echo "备份并修改: $file"
cp "$file" "$file$backup_suffix"
sed -i 's/--platform=\TARGETPLATFORM//g' "$file"
sed -i "s/--platform=\$TARGETPLATFORM//g" "$file"
else
echo "文件不存在 -> $file"
fi