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";
         }
     }
 

Reply via email to