cvs: php-master-web /scripts update-backend
| From: | Gabor Hojtsy | Date: | Thu, 01 May 2003 21:16:06 +0000 |
| Subject: | cvs: php-master-web /scripts update-backend | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17195@lists.php.net to get a copy of this message | ||
goba Thu May 1 17:16:06 2003 EDT
Modified files:
/php-master-web/scripts update-backend
Log:
Exclude the CVS dirs and the tgz itself
from being compressed
Index: php-master-web/scripts/update-backend
diff -u php-master-web/scripts/update-backend:1.14 php-master-web/scripts/update-backend:1.15
--- php-master-web/scripts/update-backend:1.14 Thu May 1 15:01:42 2003
+++ php-master-web/scripts/update-backend Thu May 1 17:16:06 2003
@@ -42,7 +42,7 @@
// Compress mirrorkit dir in backend to mirrorkit.tgz
chdir("$root/backend/mirrorkit");
-$output =
tar -czf mirrorkit.tgz *;
+$output = tar --exclude=CVS --exclude=mirrorkit.tgz -czf mirrorkit.tgz *;
if (strlen($output)) { die("Mirrorkit compression error: $output"); }
// Fetch data into a temporary file first, and then