]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fix peardeps finding
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 22 Oct 2008 00:18:19 +0000 (00:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-php-requires.php -> 1.3

rpm-php-requires.php

index f939d85f2133d16118ffda36eb894731c182aa0c..810155b38ed47c8bf14ce1cce29f22b268b68541 100644 (file)
@@ -14,7 +14,7 @@
  */
 function peardeps($files) {
        // all files must begin with $RPM_BUILD_ROOT%{php_pear_dir}
-       $prefix = RPM_BUILD_ROOT. PATH_SEPARATOR . PHP_PEAR_DIR;
+       $prefix = RPM_BUILD_ROOT. PHP_PEAR_DIR . DIRECTORY_SEPARATOR;
        $length = strlen($prefix);
        foreach ($files as $f) {
                if (substr($f, 0, $length) != $prefix) {
This page took 0.171648 seconds and 4 git commands to generate.