PhpBrew\Extension\Provider\GithubProvider::postExtractPackageCommands PHP Method

postExtractPackageCommands() public method

public postExtractPackageCommands ( $currentPhpExtensionDirectory, $targetFilePath )
    public function postExtractPackageCommands($currentPhpExtensionDirectory, $targetFilePath)
    {
        $targetPkgDir = $currentPhpExtensionDirectory . DIRECTORY_SEPARATOR . $this->getPackageName();
        $extractDir = $currentPhpExtensionDirectory . DIRECTORY_SEPARATOR . $this->getRepository() . '-*';
        $cmds = array("rm -rf {$targetPkgDir}", "mv {$extractDir} {$targetPkgDir}");
        return $cmds;
    }