File: 0001-Adapt-res-path.patch

package info (click to toggle)
php-composer-ca-bundle 1.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 332 kB
  • sloc: php: 168; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 694 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Fri, 29 Apr 2016 22:06:32 -0400
Subject: Adapt res/ path

Forwarded: not-needed
---
 src/CaBundle.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CaBundle.php b/src/CaBundle.php
index 10bb87c..4bf8731 100644
--- a/src/CaBundle.php
+++ b/src/CaBundle.php
@@ -130,7 +130,7 @@ class CaBundle
      */
     public static function getBundledCaBundlePath()
     {
-        $caBundleFile = __DIR__.'/../res/cacert.pem';
+        $caBundleFile = __DIR__.'/../../data/Composer/res/cacert.pem';
 
         // cURL does not understand 'phar://' paths
         // see https://github.com/composer/ca-bundle/issues/10