diff -up ./Library/autoload.php.rpm ./Library/autoload.php --- ./Library/autoload.php.rpm 2018-11-28 15:59:50.923865048 +0100 +++ ./Library/autoload.php 2018-11-28 16:16:41.880180099 +0100 @@ -39,20 +39,5 @@ if (PHP_SAPI !== 'cli' && PHP_SAPI !== ' exit(1); } -$autoloaders = [ - __DIR__.'/../vendor/autoload.php', // Is installed locally - __DIR__.'/../../../autoload.php', // Is installed via Composer -]; +require_once dirname(__DIR__) . '/autoload.php'; -foreach ($autoloaders as $file) { - if (\file_exists($file)) { - include_once $file; - break; - } -} - -if (false == \class_exists('Composer\Autoload\ClassLoader', false)) { - \fwrite(STDERR, 'Unable to find the Composer autoloader.'.PHP_EOL); - - exit(1); -} diff -up ./zephir.rpm ./zephir --- ./zephir.rpm 2018-11-27 22:28:25.000000000 +0100 +++ ./zephir 2018-11-28 15:57:43.690197659 +0100 @@ -1,4 +1,3 @@ -#!/usr/bin/env php