mirror of
https://github.com/morgan9e/helium
synced 2026-04-15 00:44:06 +09:00
utils/name_substitution: ignore diff status code
This commit is contained in:
@@ -52,7 +52,7 @@ do_sub() {
|
||||
perl -pi -e "$regex" "$file_path.new"
|
||||
done
|
||||
|
||||
diff -Naur "$file_path" "$file_path.new"
|
||||
diff -Naur "$file_path" "$file_path.new" || true
|
||||
mv "$file_path.new" "$file_path"
|
||||
done <<< "$FILE_LIST"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user