branch: master
commit 12d4e99a66a7dfb9571a6c6937bdfbd93c6001fc
Author: Stefan Monnier <monn...@iro.umontreal.ca>
Commit: Stefan Monnier <monn...@iro.umontreal.ca>

    * GNUmakefile (org-fetch): Don't stop the whole update if it fails.
---
 GNUmakefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 87f7854..4be6367 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -88,13 +88,13 @@ archive-full: archive-tmp org-fetch
 # FIXME: Turn it into an `external', which will require adding the notion of
 # "snapshot" packages.
 org-fetch: archive-tmp
-       cd $(ARCHIVE_TMP)/packages && \
+       -cd $(ARCHIVE_TMP)/packages &&                                          
                                                           \
        pkgname=`curl -s http://orgmode.org/elpa/|perl -ne 'push @f, $$1 if 
m/(org-\d{8})\.tar/; END { @f = sort @f; print "$$f[-1]\n"}'`; \
-       wget -q http://orgmode.org/elpa/$${pkgname}.tar -O $${pkgname}.tar; \
-       if [ -f $${pkgname}.tar ]; then \
-               tar xf $${pkgname}.tar; \
-               rm -f $${pkgname}.tar; \
-               mv $${pkgname} org; \
+       wget -q http://orgmode.org/elpa/$${pkgname}.tar -O $${pkgname}.tar;     
                                                           \
+       if [ -f $${pkgname}.tar ]; then                                         
                                                           \
+               tar xf $${pkgname}.tar;                                         
                                                           \
+               rm -f $${pkgname}.tar;                                          
                                                           \
+               mv $${pkgname} org;                                             
                                                           \
        fi
 
 clean:

Reply via email to