mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-22 02:00:40 +00:00
Revert "Use generic versions by now"
This reverts commit 7ac7cf79c522a53a5366a3115785ef84bfdcbeb8.
This commit is contained in:
parent
7ac7cf79c5
commit
5c9e658e12
@ -75,13 +75,9 @@ Building timwolla.wcf.chat.tar
|
||||
|
||||
EOT;
|
||||
chdir('..');
|
||||
file_put_contents('package.xml.bak', file_get_contents('package.xml'));
|
||||
file_put_contents('package.xml', str_replace('</version>', '.'.time().'</version>', file_get_contents('package.xml')));
|
||||
passthru('tar cvf timwolla.wcf.chat.tar * --exclude=*.bak --exclude=file --exclude=template --exclude=acptemplate --exclude=build.php', $code);
|
||||
file_put_contents('package.xml', file_get_contents('package.xml.bak'));
|
||||
passthru('tar cvf timwolla.wcf.chat.tar * --exclude=file --exclude=template --exclude=acptemplate --exclude=build.php', $code);
|
||||
if ($code != 0) exit($code);
|
||||
|
||||
if (file_exists('package.xml.bak')) unlink('package.xml.bak');
|
||||
if (file_exists('file.tar')) unlink('file.tar');
|
||||
if (file_exists('template.tar')) unlink('template.tar');
|
||||
if (file_exists('acptemplate.tar')) unlink('acptemplate.tar');
|
||||
|
Loading…
x
Reference in New Issue
Block a user