cvs: phpdoc /scripts file-entities.php
| From: | Hartmut Holzgraefe | Date: | Sun, 07 Apr 2002 19:52:12 +0000 |
| Subject: | cvs: phpdoc /scripts file-entities.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969344113@lists.php.net to get a copy of this message | ||
hholzgra Sun Apr 7 15:52:12 2002 EDT
Modified files:
/phpdoc/scripts file-entities.php
Log:
hope this fixes the cygwin problem ...
Index: phpdoc/scripts/file-entities.php
diff -u phpdoc/scripts/file-entities.php:1.2 phpdoc/scripts/file-entities.php:1.3
--- phpdoc/scripts/file-entities.php:1.2 Sun Apr 7 04:08:15 2002
+++ phpdoc/scripts/file-entities.php Sun Apr 7 15:52:12 2002
@@ -10,11 +10,11 @@
ob_end_clean();
ob_implicit_flush();
-$base_dir = abs_path($argv[1]);
+$base_dir = abs_path($argv[$argc-2]);
if(php_sapi_name()!="cli")
$base_dir=ereg_replace("/scripts$","",$base_dir);
$orig_dir = $base_dir."/en";
-$trans_dir = $base_dir."/".$argv[2];
+$trans_dir = $base_dir."/".$argv[$argc-1];
process($orig_dir,$trans_dir,$orig_dir);