develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35590 - trunk/lib/Parrot

From:
bernhard
Date:
January 15, 2009 05:32
Subject:
[svn:parrot] r35590 - trunk/lib/Parrot
Message ID:
20090115133202.8CDBBCB9AE@x12.develooper.com
Author: bernhard
Date: Thu Jan 15 05:32:00 2009
New Revision: 35590

Modified:
   trunk/lib/Parrot/Manifest.pm

Log:
[tools] Add leading slash, in order to avoid shell globs with ignored directory part.


Modified: trunk/lib/Parrot/Manifest.pm
==============================================================================
--- trunk/lib/Parrot/Manifest.pm	(original)
+++ trunk/lib/Parrot/Manifest.pm	Thu Jan 15 05:32:00 2009
@@ -315,7 +315,9 @@
 #
 # This file should contain a transcript of the svn:ignore properties
 # of the directories in the Parrot subversion repository.
-# (Needed for convenience whne working with git-svn.
+# The .gitignore file is a convenience for developers  working with git-svn.
+# See http://www.kernel.org/pub/software/scm/git/docs/gitignore.html for the
+# format of this file.
 #
 END_HEADER
 
@@ -326,8 +328,8 @@
         foreach ( sort split /\n/, $ignores_ref->{$directory} ) {
             $print_str .=
                 ( $dir ne '.' )
-                ? "$dir/$_\n"
-                : "$_\n";
+                ? "/$dir/$_\n"
+                : "/$_\n";
         }
     }
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About