Revision: 6179
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6179&view=rev
Author:   gespinasse
Date:     2011-12-24 11:08:53 +0000 (Sat, 24 Dec 2011)
Log Message:
-----------
No need to 'cat FILE | grep' when 'grep FILE' is enought

Modified Paths:
--------------
    ipcop/trunk/lfs/net-tools
    ipcop/trunk/lfs/perl

Modified: ipcop/trunk/lfs/net-tools
===================================================================
--- ipcop/trunk/lfs/net-tools   2011-12-24 08:23:34 UTC (rev 6178)
+++ ipcop/trunk/lfs/net-tools   2011-12-24 11:08:53 UTC (rev 6179)
@@ -87,7 +87,7 @@
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
 
        cd $(DIR_APP) && gzip -dc $(DIR_DL)/$(PATCH1) | patch -Np1
-       cd $(DIR_APP) && for patch in `cat debian/patches/series | grep -v ^#` 
; do \
+       cd $(DIR_APP) && for patch in `grep -v ^# debian/patches/series` ; do \
                patch -Np1 -i debian/patches/$$patch; \
        done
 

Modified: ipcop/trunk/lfs/perl
===================================================================
--- ipcop/trunk/lfs/perl        2011-12-24 08:23:34 UTC (rev 6178)
+++ ipcop/trunk/lfs/perl        2011-12-24 11:08:53 UTC (rev 6179)
@@ -97,7 +97,7 @@
        cd $(DIR_APP) && sed -i 's/ -p1//' debian/patches/series
        # debian/patches/debian contains Debian specific patches
        # debian/patches/fixes contains 'generic' patches, usually from upstream
-       cd $(DIR_APP) && for patch in `cat debian/patches/series | grep -v 
'^debian'` ; do \
+       cd $(DIR_APP) && for patch in `grep -v '^debian' debian/patches/series` 
; do \
                patch -Np1 -i debian/patches/$$patch; \
        done
        # patchlevel contain reference to applied patches visible with perl-V

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


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to