[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 12d4e99: * GNUmakefile (org-fetch): Don't stop the whole u
From: |
Stefan Monnier |
Subject: |
[elpa] master 12d4e99: * GNUmakefile (org-fetch): Don't stop the whole update if it fails. |
Date: |
Wed, 3 Jan 2018 19:33:49 -0500 (EST) |
branch: master
commit 12d4e99a66a7dfb9571a6c6937bdfbd93c6001fc
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* 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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master 12d4e99: * GNUmakefile (org-fetch): Don't stop the whole update if it fails.,
Stefan Monnier <=