From 70c7b0d860684eed9c34de54bb89fdad96477e03 Mon Sep 17 00:00:00 2001 From: Sebastien Armand Date: Tue, 24 Jul 2012 10:03:23 +0800 Subject: [PATCH] small fix --- composer.json | 1 + composer.lock | 14 +++++++------- src/Khepin/Medusa/Command/AddRepoCommand.php | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 718b254..acf39eb 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,7 @@ { "name": "khepin/medusa", "description": "A small set of command to maintain a mirror of git repositories and create a local satis repository for composer.", + "repositories": [{"packagist": false}], "require": { "composer/satis": "dev-master", "guzzle/guzzle": "v2.8.1" diff --git a/composer.lock b/composer.lock index 99a5d50..0745be7 100644 --- a/composer.lock +++ b/composer.lock @@ -1,5 +1,5 @@ { - "hash": "ef9412f2d443d8ee00b68a2681707e63", + "hash": "3f5f3215ace9028f7637512b5117d2b6", "packages": [ { "package": "composer/composer", @@ -10,8 +10,8 @@ { "package": "composer/composer", "version": "dev-master", - "source-reference": "f2934ce58f417d3950f924c91c27486b1308326f", - "commit-date": "1342703198" + "source-reference": "ac29308eb764a2c85d9253ed426227ed902ff769", + "commit-date": "1343056624" }, { "package": "composer/satis", @@ -46,8 +46,8 @@ { "package": "symfony/symfony", "version": "dev-master", - "source-reference": "ec5fee0cbb7d2fcc000cede2cf6f0bf2b926599c", - "commit-date": "1342615541" + "source-reference": "2aaa4ed84e56ad8e3420e696f6a42231d30bc1d2", + "commit-date": "1343064472" }, { "package": "twig/twig", @@ -58,8 +58,8 @@ { "package": "twig/twig", "version": "dev-master", - "source-reference": "d70860f5f5263ec8aa7d8f81729ff79793985a6b", - "commit-date": "1342598009" + "source-reference": "657de7bdeb680815e0df95f63da9f81e1533d2ea", + "commit-date": "1342953178" } ], "packages-dev": null, diff --git a/src/Khepin/Medusa/Command/AddRepoCommand.php b/src/Khepin/Medusa/Command/AddRepoCommand.php index 7cd409b..b1ddc11 100644 --- a/src/Khepin/Medusa/Command/AddRepoCommand.php +++ b/src/Khepin/Medusa/Command/AddRepoCommand.php @@ -73,7 +73,7 @@ protected function execute(InputInterface $input, OutputInterface $output) protected function getGitRepo($package, $outputDir) { - $dir = $in_dir.'/'.$this->package.'.git'; + $dir = $in_dir.'/'.$package.'.git'; if(is_dir($dir)){ $output->writeln(' The repo already exists. Try updating it instead.'); return;