From 4083bfec30da95fe9ce16f3d4c831f85985e3d93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 22 Oct 2008 00:18:19 +0000 Subject: [PATCH] - fix peardeps finding Changed files: rpm-php-requires.php -> 1.3 --- rpm-php-requires.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm-php-requires.php b/rpm-php-requires.php index f939d85..810155b 100644 --- a/rpm-php-requires.php +++ b/rpm-php-requires.php @@ -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) { -- 2.44.0