[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: validate_repo $cvsroot trailing '/' handling
From: |
Erik Cumps |
Subject: |
Re: PATCH: validate_repo $cvsroot trailing '/' handling |
Date: |
Tue, 4 Oct 2005 14:58:59 +0200 |
Hello again,
apparently the attchement failed to make it through to the list. Here it
is again:
--- validate_repo.in.v1_7 2005-10-04 14:08:38.000000000 +0200
+++ validate_repo 2005-10-04 14:16:44.316500253 +0200
@@ -235,6 +235,9 @@
exit 2;
}
+ # Fix trailing /'s
+ $cvsroot =~ s#/*$##o;
+
for (@scripts)
{
$_ = File::Spec->rel2abs( $_ ) unless /\n/ || !-x $_;