X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=functions%2Ffpkg;h=dbbc838dbbe678c8ca6bf97a27cb379ee4c3fc69;hb=02a6c67738080f06def83e5c2aad68af3ce2d56b;hp=39717d10086c976750d010c57921e30e4804e5dd;hpb=4dee246ce14065d985c1efc35f783730eb386809;p=hvlinux.git diff --git a/functions/fpkg b/functions/fpkg index 39717d1..dbbc838 100644 --- a/functions/fpkg +++ b/functions/fpkg @@ -235,13 +235,14 @@ static_checkpatch() # Patches list formats (patches-list-*.html): # LFS: a href="name.patch" - # hugovil: A HREF "dir/subdir/subdir/name.patch + # hugovil: a href="dir/subdir/subdir/name.patch" # We must search for a patch beginning with either a slash or a " to avoid # the possibility of having another package name within a patch name: # if patch = Mesalib-8.0.4-llvm-3.1-fixes-1.patch # then we could erroneously try to download patch "llvm-3.1-fixes-1.patch" local PATCHES_FOUND=$(cat ${PATCHES_LIST} | \ egrep "\"${PACK_URL}-|/${PACK_URL}-" | \ + egrep ".patch\"" | \ sed "s/.*\(${PACK_URL}-.*\.patch\)\".*/\1/") if [ -n "${PATCHES_FOUND}" ]; then