Permit make get to continue even if fetching patches list failed
authorHugo Villeneuve <hugo@hugovil.com>
Fri, 28 Nov 2014 06:27:22 +0000 (01:27 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 5 Dec 2014 04:44:18 +0000 (23:44 -0500)
functions/fpkg

index 9563456..b5c06c6 100644 (file)
@@ -218,20 +218,26 @@ update_packages_init()
 
     if [ -n "${USE_LFS_PATCHES}" ]; then
         # Getting list of all patches from LFS server.
+        set +e
         rcmd "Fetching LFS  patches list" static_fetch_patches_list \
             ${LFS_PATCHES_URL} ${LFS_PATCHES_LIST}
+        set -e
     fi
 
     if [ -n "${USE_BLFS_PATCHES}" ]; then
         # Getting list of all patches from BLFS server.
+        set +e
         rcmd "Fetching BLFS patches list" static_fetch_patches_list \
             ${BLFS_PATCHES_URL} ${BLFS_PATCHES_LIST}
+        set -e
     fi
 
     if [ -n "${USE_CLFS_PATCHES}" ]; then
         # Getting list of all patches from CLFS server.
+        set +e
         rcmd "Fetching CLFS patches list" static_fetch_patches_list \
             ${CLFS_PATCHES_URL} ${CLFS_PATCHES_LIST}
+        set -e
     fi
 }