c6b386f
diff -up ./phpcov.rpm ./phpcov
c6b386f
--- ./phpcov.rpm	2020-08-12 08:34:40.537300187 +0200
c6b386f
+++ ./phpcov	2020-08-12 08:35:58.538282816 +0200
c6b386f
@@ -9,22 +9,6 @@
17d93a5
  * file that was distributed with this source code.
17d93a5
  */
17d93a5
 
17d93a5
-$loaded = false;
17d93a5
-
17d93a5
-foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
17d93a5
-    if (file_exists($file)) {
17d93a5
-        require $file;
17d93a5
-        $loaded = true;
17d93a5
-        break;
17d93a5
-    }
c6b386f
-}
c6b386f
-
17d93a5
-if (!$loaded) {
17d93a5
-    die(
17d93a5
-        'You need to set up the project dependencies using the following commands:' . PHP_EOL .
17d93a5
-        'wget http://getcomposer.org/composer.phar' . PHP_EOL .
17d93a5
-        'php composer.phar install' . PHP_EOL
17d93a5
-    );
17d93a5
-}
c6b386f
+require '/usr/share/php/SebastianBergmann/PHPCOV/autoload.php';
17d93a5
 
c6b386f
 exit((new SebastianBergmann\PHPCOV\Application)->run($_SERVER['argv']));