[Templates-cvs] cvs commit: Template2 Makefile.PL

cvs@template-toolkit.org cvs@template-toolkit.org
Sun, 03 Aug 2003 20:51:29 +0100


cvs         03/08/03 19:51:28

  Modified:    .        Makefile.PL
  Log:
  * Applied Axel's patch to remove trailing '/' from installation dir.
    http://tt2.org/pipermail/templates/2003-April/004553.html
  
  Revision  Changes    Path
  2.40      +1 -0      Template2/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /template-toolkit/Template2/Makefile.PL,v
  retrieving revision 2.39
  retrieving revision 2.40
  diff -u -r2.39 -r2.40
  --- Makefile.PL	2003/04/30 08:04:14	2.39
  +++ Makefile.PL	2003/08/03 19:51:28	2.40
  @@ -622,6 +622,7 @@
   
   EOF
   	$TT_PREFIX = ttprompt('Installation directory', $TT_PREFIX || $PREFIX);
  +        $TT_PREFIX =~ s[/$][];
       }
       else {
   	$TT_PREFIX = '';