cvs: phpweb /bin update-projects
| From: | Jesus M. Castagnetto | Date: | Thu, 01 Mar 2001 03:54:34 +0000 |
| Subject: | cvs: phpweb /bin update-projects | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-4104@lists.php.net to get a copy of this message | ||
jmcastagnetto Wed Feb 28 19:54:34 2001 EDT
Modified files:
/phpweb/bin update-projects
Log:
Added creation of projects.inc (contains array of projects for inclusion
in PHP scripts)
Index: phpweb/bin/update-projects
diff -u phpweb/bin/update-projects:1.3 phpweb/bin/update-projects:1.4
--- phpweb/bin/update-projects:1.3 Wed Feb 28 12:57:00 2001
+++ phpweb/bin/update-projects Wed Feb 28 19:54:34 2001
@@ -20,3 +20,15 @@
fi
mv backend/projects.html~ backend/projects.html
+
+# generating the include file projects.inc
+sleep 900
+
+lynx -source http://www.php.net/bin/projects_inc.php >
backend/projects.inc~
+if [ $? -ne 0 ]; then
+ echo problem generating the include file
+ exit 1
+fi
+
+mv backend/projects.inc~ backend/projects.inc
+