svn: /web/php-master/trunk/scripts/ update-backend
| From: | Hannes Magnusson | Date: | Tue, 17 Aug 2010 18:48:13 +0000 |
| Subject: | svn: /web/php-master/trunk/scripts/ update-backend | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-8755@lists.php.net to get a copy of this message | ||
bjori Tue, 17 Aug 2010 18:48:13 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=302406
Log:
ignore the .svn dir too
Changed paths:
U web/php-master/trunk/scripts/update-backend
Modified: web/php-master/trunk/scripts/update-backend
===================================================================
--- web/php-master/trunk/scripts/update-backend 2010-08-17 18:48:00 UTC (rev 302405)
+++ web/php-master/trunk/scripts/update-backend 2010-08-17 18:48:13 UTC (rev 302406)
@@ -67,7 +67,7 @@
// Compress mirrorkit dir in backend to mirrorkit.tgz, and
// then move it to the webspace in case it is properly done
chdir("$root/backend/mirrorkit");
-$output =
tar --exclude=CVS --exclude=mirrorkit.tgz -czf mirrorkit.tgz *;
+$output = tar --exclude=CVS --exclude=.svn --exclude=mirrorkit.tgz -czf mirrorkit.tgz
*;
if (strlen($output)) { die("Mirrorkit compression error: $output"); }
if (@file_exists('mirrorkit.tgz')) {
rename('mirrorkit.tgz', "$root/mirrorkit.tgz");