From 347ed93a1b6f6e07c06ece03f47a83967bb87765 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 20 Jun 2024 23:57:13 +0200 Subject: [PATCH] Invalid escape sequence yada yada --- tools/helpers2.1/convert_to_helpers_2.1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/helpers2.1/convert_to_helpers_2.1.py b/tools/helpers2.1/convert_to_helpers_2.1.py index 1a1b8509..ada82367 100644 --- a/tools/helpers2.1/convert_to_helpers_2.1.py +++ b/tools/helpers2.1/convert_to_helpers_2.1.py @@ -302,9 +302,9 @@ def cleanup(): "test -e config_panel.json && git rm --quiet config_panel.json", "test -e config_panel.toml.example && git rm --quiet config_panel.toml.example", "git rm $(find ./ -name .DS_Store) 2>/dev/null", - "grep -q '\*\~' .gitignore 2>/dev/null || echo '*~' >> .gitignore", - "grep -q '\~.sw\[op\]' .gitignore || echo '~.sw[op]' >> .gitignore", - "grep -q '\.DS_Store' .gitignore || echo '.DS_Store' >> .gitignore", + r"grep -q '\*\~' .gitignore 2>/dev/null || echo '*~' >> .gitignore", + r"grep -q '\~.sw\[op\]' .gitignore || echo '~.sw[op]' >> .gitignore", + r"grep -q '\.DS_Store' .gitignore || echo '.DS_Store' >> .gitignore", "git add .gitignore", ]