Skip to content

Commit 288092a

Browse files
committed
Fix build.php
1 parent f5df884 commit 288092a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

contrib/build.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?php
33
namespace de\bisaboard\bisaboard;
44
/**
5-
* Builds be.bastelstu.max.pushNotification
5+
* Builds be.bastelstu.max.wcf.pushNotification
66
*
77
* @author Tim Düsterhus, edited by Maximilian Mader
88
* @copyright 2012-2013 Tim Düsterhus
@@ -11,8 +11,8 @@
1111
*/
1212
$packageXML = file_get_contents('package.xml');
1313
preg_match('/<version>(.*?)<\/version>/', $packageXML, $matches);
14-
echo "Building be.bastelstu.max.pushNotification $matches[1]\n";
15-
echo str_repeat("=", strlen("Building be.bastelstu.max.pushNotification $matches[1]"))."\n";
14+
echo "Building be.bastelstu.max.wcf.pushNotification $matches[1]\n";
15+
echo str_repeat("=", strlen("Building be.bastelstu.max.wcf.pushNotification $matches[1]"))."\n";
1616

1717
echo <<<EOT
1818
Cleaning up
@@ -25,7 +25,7 @@
2525
}
2626
if (file_exists('file.tar')) unlink('file.tar');
2727
if (file_exists('acptemplates.tar')) unlink('acptemplates.tars');
28-
if (file_exists('be.bastelstu.max.pushNotification.tar')) unlink('be.bastelstu.max.pushNotification.tar');
28+
if (file_exists('be.bastelstu.max.wcf.pushNotification.tar')) unlink('be.bastelstu.max.wcf.pushNotification.tar');
2929
echo <<<EOT
3030
3131
Checking PHP for Syntax Errors
@@ -75,14 +75,14 @@
7575

7676
echo <<<EOT
7777
78-
Building be.bastelstu.max.pushNotification
78+
Building be.bastelstu.max.wcf.pushNotification
7979
------------------------------------------
8080
8181
EOT;
8282
chdir('..');
8383
file_put_contents('package.xml.old', file_get_contents('package.xml'));
8484
file_put_contents('package.xml', preg_replace('~<date>\d{4}-\d{2}-\d{2}</date>~', '<date>'.date('Y-m-d').'</date>', file_get_contents('package.xml')));
85-
passthru('tar cvf be.bastelstu.max.pushNotification.tar --exclude=*.old --exclude=file --exclude=contrib -- *', $code);
85+
passthru('tar cvf be.bastelstu.max.wcf.pushNotification.tar --exclude=*.old --exclude=file --exclude=contrib -- *', $code);
8686
if (file_exists('package.xml.old')) {
8787
file_put_contents('package.xml', file_get_contents('package.xml.old'));
8888
unlink('package.xml.old');

0 commit comments

Comments
 (0)