[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[7559] ipcop/trunk/tools/package-diff.pl
From:       owes () users ! sourceforge ! net
Date:       2014-05-22 13:40:48
Message-ID: E1WnTEo-0000gV-TJ () sfs-ml-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic