[Rt-commit] rtfm branch, master, updated. fbae217fe016bdf09b190f1999a3116466befffa

Kevin Falcone falcone at bestpractical.com
Thu Aug 19 18:01:55 EDT 2010


The branch, master has been updated
       via  fbae217fe016bdf09b190f1999a3116466befffa (commit)
      from  99179be3ea76870f603ce35077c040921c52a85a (commit)

Summary of changes:
 .gitignore                          |    1 +
 Makefile.PL                         |    3 +++
 t/lib/RT/FM/{Test.pm => Test.pm.in} |    0
 3 files changed, 4 insertions(+), 0 deletions(-)
 rename t/lib/RT/FM/{Test.pm => Test.pm.in} (100%)

- Log -----------------------------------------------------------------
commit fbae217fe016bdf09b190f1999a3116466befffa
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Thu Aug 19 18:03:53 2010 -0400

    Don't substitute in place on a manged file
    
    Doing that means git st will never be clean and makes it easy to check
    in a bunch of local paths.

diff --git a/.gitignore b/.gitignore
index b0378e2..6bcf617 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,5 @@ MANIFEST.bak
 blib
 pm_to_blib
 t/tmp
+t/lib/RT/FM/Test.pm
 *.swp
diff --git a/Makefile.PL b/Makefile.PL
index b927639..70dcec6 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -23,6 +23,9 @@ my $local_lib_path = "$RT::LocalPath/lib";
 substitute( {
         RT_LIB_PATH => join( ' ', $local_lib_path, $lib_path ),
     },
+    {
+        sufix => '.in',
+    },
     't/lib/RT/FM/Test.pm',
 );
 
diff --git a/t/lib/RT/FM/Test.pm b/t/lib/RT/FM/Test.pm.in
similarity index 100%
rename from t/lib/RT/FM/Test.pm
rename to t/lib/RT/FM/Test.pm.in

-----------------------------------------------------------------------


More information about the Rt-commit mailing list