From: Andrew Tridgell Date: Mon, 2 Nov 1998 07:26:36 +0000 (+0000) Subject: remove double / from filenames in display X-Git-Tag: v2.2.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=263cf2ed554ed3cf21c4710ae4c5053121ba20d8;p=thirdparty%2Frsync.git remove double / from filenames in display --- diff --git a/support/rsyncstats b/support/rsyncstats index e5c63559..da95dd08 100755 --- a/support/rsyncstats +++ b/support/rsyncstats @@ -73,6 +73,8 @@ line: while () { $file = $module . "/" . $file; + $file =~ s|//|/|mg; + @path = split(/\//, $file); $pathkey = "";