Revision: 7559
          http://sourceforge.net/p/ipcop/svn/7559
Author:   owes
Date:     2014-05-22 13:40:46 +0000 (Thu, 22 May 2014)
Log Message:
-----------
Add perl replacements to easier find differences.

Modified Paths:
--------------
    ipcop/trunk/tools/package-diff.pl

Modified: ipcop/trunk/tools/package-diff.pl
===================================================================
--- ipcop/trunk/tools/package-diff.pl   2014-05-22 13:03:59 UTC (rev 7558)
+++ ipcop/trunk/tools/package-diff.pl   2014-05-22 13:40:46 UTC (rev 7559)
@@ -50,6 +50,10 @@
 my $filelist = `find files_i486 -name ${package}-${package_version}`;
 chomp($filelist);
 
+# Get Perl version
+my $perl_version = `grep "^VER" lfs/perl | cut -d '=' -f 2`;
+chomp(${perl_version});
+
 #
 # Search rootfile and filelist for differences
 #
@@ -71,7 +75,7 @@
 }
 else {
     print "## rootfile differences >>\n";
-    print `diff -Nuw ${rootfile} ${filelist}`;
+    print `sed "s,PERLVER,$perl_version,g" ${rootfile} | sed 
"s,MACHINE,i486,g"  | diff -Nuw - ${filelist}`;
     print "<<\n";
 }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to