summaryrefslogtreecommitdiff
path: root/lang/php/pear_plist.php
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php/pear_plist.php')
-rw-r--r--lang/php/pear_plist.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/lang/php/pear_plist.php b/lang/php/pear_plist.php
index fc34f920d80..6f3244708e5 100644
--- a/lang/php/pear_plist.php
+++ b/lang/php/pear_plist.php
@@ -1,5 +1,5 @@
<?php
-# $NetBSD: pear_plist.php,v 1.6 2009/01/19 19:55:02 abs Exp $
+# $NetBSD: pear_plist.php,v 1.7 2009/06/14 22:58:02 joerg Exp $
# Parses package XML file and outputs appropriate PLIST
$PEAR_LIB = getenv('PEAR_LIB');
@@ -55,15 +55,4 @@ foreach($info['filelist'] as $f => $v) {
while(($f = dirname($f)) && $f != '.')
$dirrm["{$prefix}{$f}"] = true;
}
-
-# output @dirrm directives, in reverse order so that deeper
-# directories are removed first
-$dirrm = array_keys($dirrm);
-rsort($dirrm);
-foreach($dirrm as $dir) {
- $fulldir = "{$PEAR_LIB}/$dir";
- if ($PEAR_DIRRM_EXCLUDE && substr($fulldir, 0, strlen($PEAR_DIRRM_EXCLUDE)) == $PEAR_DIRRM_EXCLUDE)
- continue;
- echo "@dirrm $fulldir\n";
-}
?>