branch: elpa-admin
commit 8c080966454a4863b480f1818c90867d7449c05d
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>
* 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: