summaryrefslogtreecommitdiff
path: root/Userland/Utilities/update-cpp-test-results.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/update-cpp-test-results.cpp')
-rw-r--r--Userland/Utilities/update-cpp-test-results.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/update-cpp-test-results.cpp b/Userland/Utilities/update-cpp-test-results.cpp
index 51f9aa1e5a..ac2959c975 100644
--- a/Userland/Utilities/update-cpp-test-results.cpp
+++ b/Userland/Utilities/update-cpp-test-results.cpp
@@ -20,7 +20,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
continue;
auto ast_full_path = cpp_full_path.replace(".cpp", ".ast");
outln("{}", cpp_full_path);
- auto res = Core::command("/bin/sh", { "sh", "-c", String::formatted("cpp-parser {} > {}", cpp_full_path, ast_full_path) }, {});
+ auto res = Core::command("/bin/sh", { "-c", String::formatted("cpp-parser {} > {}", cpp_full_path, ast_full_path) }, {});
VERIFY(!res.is_error());
}
@@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
continue;
auto ast_full_path = cpp_full_path.replace(".cpp", ".txt");
outln("{}", cpp_full_path);
- auto res = Core::command("/bin/sh", { "sh", "-c", String::formatted("cpp-preprocessor {} > {}", cpp_full_path, ast_full_path) }, {});
+ auto res = Core::command("/bin/sh", { "-c", String::formatted("cpp-preprocessor {} > {}", cpp_full_path, ast_full_path) }, {});
VERIFY(!res.is_error());
}