private function addBinFile($phar)
    {
        $content = file_get_contents(__DIR__ . '/../../bin/ctb');
        $content = preg_replace('{^#!/usr/bin/env php\s*}', '', $content);
        $phar->addFromString('bin/ctb', $content);
    }