From a7e6d85f6df34f2cfdc031562607cbc9050cf8a5 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 6 Nov 2007 16:37:25 +0000 Subject: [PATCH] Update PEAR packager - Ignore standalone directories - Normalize base directory with realpath git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1447 48356398-32a2-884e-a903-53898d9a118a --- package.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.php b/package.php index c47e4c1b..0a4cc00c 100644 --- a/package.php +++ b/package.php @@ -10,11 +10,11 @@ $pkg->setOptions( array( 'baseinstalldir' => '/', 'packagefile' => 'package2.xml', - 'packagedirectory' => dirname(__FILE__) . '/library', + 'packagedirectory' => realpath(dirname(__FILE__) . '/library'), 'filelistgenerator' => 'file', 'include' => array('*'), 'dir_roles' => array('/' => 'php'), // hack to put .ser in the right place - 'ignore' => array('HTMLPurifier.auto.php'), + 'ignore' => array('HTMLPurifier.auto.php', 'HTMLPurifier.standalone.php', 'standalone/'), ) );