]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
portability: Don’t pass “-r” to sed
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 8 Jun 2020 19:51:32 +0000 (21:51 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 8 Jun 2020 19:51:56 +0000 (21:51 +0200)
test/run

index 2bb03e65042055a1f877c1c0aebf0e6be42d401b..1892f42afdc073f623f31466167ee651b9841c98 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -387,7 +387,7 @@ case $compiler_version in
         ;;
     *clang*)
         COMPILER_TYPE_CLANG=true
-        CLANG_VERSION_SUFFIX=$(echo $COMPILER | sed -r 's/.*clang//')
+        CLANG_VERSION_SUFFIX=$(echo $COMPILER | sed 's/.*clang//')
         ;;
     *)
         echo "WARNING: Compiler $COMPILER not supported (version: $compiler_version) -- not running tests" >&2