[gentoo-x86] / eclass / eutils.eclass Project Root:

GentooDiff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph

version 1.304, Sat Sep 20 18:45:26 2008 UTC version 1.305, Sat Sep 20 18:55:07 2008 UTC
Line 264 
Line 264 
                                 PATCH_TARGET="${x}"                                  PATCH_TARGET="${x}"
                         fi                          fi
   
                           # Check for absolute paths in patches.  If sandbox is disabled,
                           # people could (accidently) patch files in the root filesystem.
                           # Or trigger other unpleasantries #237667.
                           if egrep -q '^[-+]{3} /' "${PATCH_TARGET}" ; then
                                   ewarn "Absolute paths found in ${patchname}!  Please remove them!"
                           fi
   
                         # Allow for prefix to differ ... im lazy, so shoot me :/                          # Allow for prefix to differ ... im lazy, so shoot me :/
                         while [ "${count}" -lt 5 ]                          while [ "${count}" -lt 5 ]
                         do                          do

Generate output suitable for use with a patch program
Legend:
Removed from v.1.304  
changed lines
  Added in v.1.305

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help