branch: elpa-admin
commit 5da248f0017b4ed7a3029ca49ce0303ca5cba971
Author: Stefan Monnier <[email protected]>
Commit: Stefan Monnier <[email protected]>
* GNUmakefile (process-archive): Fix placement of --exclude and -X
Reported by Serghei <[email protected]>.
---
GNUmakefile | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 2560ab9..816bb19 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -55,18 +55,18 @@ process-archive:
cd $(ARCHIVE_TMP)/packages && \
$(EMACS) -l $(CURDIR)/admin/archive-contents.el \
-f batch-make-archive
- @cd $(ARCHIVE_TMP)/packages && \
- for pt in *; do \
- if [ -f "$${pt}/.elpaignore" ]; then \
- ignore="$${pt}/.elpaignore"; \
- else \
- ignore="/dev/null"; \
- fi; \
- if [ -d $$pt ]; then \
- echo "Creating tarball $${pt}.tar" && \
- tar -chf $${pt}.tar $$pt --exclude-vcs -X "$$ignore"; \
- rm -rf $${pt}; \
- fi; \
+ @cd $(ARCHIVE_TMP)/packages && \
+ for pt in *; do \
+ if [ -f "$${pt}/.elpaignore" ]; then \
+ ignore="$${pt}/.elpaignore"; \
+ else \
+ ignore="/dev/null"; \
+ fi; \
+ if [ -d $$pt ]; then \
+ echo "Creating tarball $${pt}.tar" && \
+ tar --exclude-vcs -X "$$ignore" -chf $${pt}.tar $$pt; \
+ rm -rf $${pt}; \
+ fi; \
done
mkdir -p archive/packages
mv archive/packages archive/packages-old