emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa-admin 8c08096 285/357: * GNUmakefile (org-fetch): Don't stop


From: Stefan Monnier
Subject: [elpa] elpa-admin 8c08096 285/357: * GNUmakefile (org-fetch): Don't stop the whole update if it fails.
Date: Thu, 10 Dec 2020 18:07:00 -0500 (EST)

branch: elpa-admin
commit 8c080966454a4863b480f1818c90867d7449c05d
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@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

[Prev in Thread] Current Thread [Next in Thread]