[packages/composer/1.0.0-alpha11-dev: 3/7] use bin/composer as we don't patch it

glen glen at pld-linux.org
Wed Nov 25 21:10:10 CET 2015


commit 4e94bd95933f0b558169bef3460005b7aed9e050
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Nov 25 18:34:22 2015 +0200

    use bin/composer as we don't patch it

 nogit.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nogit.patch b/nogit.patch
index ff9bc77..2025bbf 100644
--- a/nogit.patch
+++ b/nogit.patch
@@ -36,7 +36,7 @@
 -    echo 'Could not detect date using "git log -n1 --pretty=%ct HEAD"'.PHP_EOL;
 -    exit(1);
 -}
-+$ts = filemtime(__FILE__);
++$ts = filemtime(__DIR__.'/composer');
  // Install with the current version to force it having the right ClassLoader version
  // Install without dev packages to clean up the included classmap from phpunit classes
  shell_exec('php bin/composer config autoloader-suffix ComposerPhar' . $ts);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/composer.git/commitdiff/b4e74b61056acbaba0feb842bf6534137b1683a6



More information about the pld-cvs-commit mailing list