| 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 |