- if [ ! -f ${LFS_PKG_DIR}/${PATCH_NAME} ]; then
- # Fetch patch only if it is not blacklisted!
- local BL=$(cat ${PATCHES_BLACKLIST} | \
- egrep "${PATCH_NAME}")
-
- if [ "x${BL}" == "x" ]; then
- wget_wrapper ${PATCHES_URL} ${PATCH_NAME}
- else
- MSGSTRING="Patch ${PATCH_NAME} blacklisted" print_status warning
- fi
+ if [ ! -f ${LFS_PATCHES_DIR}/${PATCH_NAME} ]; then
+ wget_wrapper ${PATCHES_URL} ${PATCH_NAME} ${LFS_PATCHES_DIR}