diff --git a/contrib/build.php b/contrib/build.php index 48f1794..eed76ab 100755 --- a/contrib/build.php +++ b/contrib/build.php @@ -103,6 +103,7 @@ chdir('..'); file_put_contents('package.xml.old', file_get_contents('package.xml')); file_put_contents('package.xml', preg_replace('~\d{4}-\d{2}-\d{2}~', ''.date('Y-m-d').'', file_get_contents('package.xml'))); + file_put_contents('package.xml', str_replace('', '', file_get_contents('package.xml'))); passthru('tar cvf be.bastelstu.chat.tar * --exclude=*.old --exclude=file --exclude=template --exclude=acptemplate --exclude=contrib', $code); if (file_exists('package.xml.old')) { file_put_contents('package.xml', file_get_contents('package.xml.old'));