cvs: phpdoc /scripts file-entities.php
| From: | Gabor Hojtsy | Date: | Thu, 18 Jul 2002 11:56:50 +0000 |
| Subject: | cvs: phpdoc /scripts file-entities.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969347380@lists.php.net to get a copy of this message | ||
goba Thu Jul 18 07:56:50 2002 EDT
Modified files:
/phpdoc/scripts file-entities.php
Log:
Adding workaround for cygwin path values (though I have not experienced
problems with these, but d:/path/to/phpdoc should be ok for fopen)
Index: phpdoc/scripts/file-entities.php
diff -u phpdoc/scripts/file-entities.php:1.9 phpdoc/scripts/file-entities.php:1.10
--- phpdoc/scripts/file-entities.php:1.9 Sat Jul 6 21:38:40 2002
+++ phpdoc/scripts/file-entities.php Thu Jul 18 07:56:50 2002
@@ -18,6 +18,9 @@
$out_dir = $argv[$argc-1];
+// Workaround for cygwin path values
+$out_dir = preg_replace("!^/cygdrive/(\\w)/!", "\\1:/", $out_dir);
+
$entities = array();
process($orig_dir, $trans_dir, $orig_dir, $entities);