From 61ee483f58b8dcd98a1a86d96c7e3360f9fe7692 Mon Sep 17 00:00:00 2001 From: Takara Baumbach Date: Fri, 19 Apr 2024 13:50:31 +0200 Subject: [PATCH] fix: uncomment correctly in ors-config.yml --- .github/utils/yml_config_to_ors_config_conversion.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/utils/yml_config_to_ors_config_conversion.sh b/.github/utils/yml_config_to_ors_config_conversion.sh index f1b815df16..33ab444094 100755 --- a/.github/utils/yml_config_to_ors_config_conversion.sh +++ b/.github/utils/yml_config_to_ors_config_conversion.sh @@ -37,7 +37,8 @@ echo "- Uncomment ors, engine and source_file" sed -i -e '/^#ors:/s/^#//' -e '/^#.*engine:/s/^#//' -e '/^#.*source_file:/s/^#//' "$output_file" echo "- Uncomment subsequent lines for profiles.car.enabled in ors.engine" -sed -i -e '/^#.*profiles:/s/^#//' "$output_file" -sed -i -e '/^#.*car:.*/s/^#//' "$output_file" +sed -i -e '/^# profiles:/s/^#//' "$output_file" +sed -i -e '/^# car:.*/s/^#//' "$output_file" +sed -i -e '/^# car:.*/s/^#//' "$output_file" echo "Parsing complete. Result saved to $output_file"