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);
 


Reply via email to