diff --git a/test/run-integration-tests.sh b/test/run-integration-tests.sh index 2d3f0ee94f..3c01adfca3 100755 --- a/test/run-integration-tests.sh +++ b/test/run-integration-tests.sh @@ -7,7 +7,7 @@ if [ $# -gt 0 ]; then else args="setup run clean-again" fi -args_no_clean=$(sed -r 's/\bclean\b//g' <<<$args) +args_no_clean=$(sed -r 's/\bclean.*\b//g' <<<$args) do_clean=$( [ "$args" = "$args_no_clean" ]; echo $? ) ninja -C "$BUILD_DIR"