One more little fix for revcheck.php: fixes directory name for files
situated in the root translation dir, was: ./en, now / (see Files
section).
Index: doc-base/scripts/revcheck.php
===================================================================
--- doc-base/scripts/revcheck.php (revision 304390)
+++ doc-base/scripts/revcheck.php (working copy)
@@ -897,8 +897,8 @@
// Store the new actual directory
$prev_dir = $new_dir;
}
- // Drop out the unneeded parts from the dirname...
- $display_dir = str_replace($DOCDIR."en/", "", dirname($file["full_name"]));
+ // Drop out the unneeded parts from the dirname, special case for root dir...
+ $display_dir = str_replace(array($DOCDIR."en/", $DOCDIR."en"), array("", '/'), dirname($file["full_name"]));
$prev_diplay_dir = "<tr class=blue><th colspan=12>$display_dir";
// Save the line for the current file (get file name shorter)