[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 8b9b600 2/2: * GNUmakefile (process-archive): Fix placemen
From: |
Stefan Monnier |
Subject: |
[elpa] master 8b9b600 2/2: * GNUmakefile (process-archive): Fix placement of --exclude and -X |
Date: |
Tue, 3 Mar 2020 12:56:47 -0500 (EST) |
branch: master
commit 8b9b6000e2dbbe11fcd35cb993094597f52bb5e5
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* GNUmakefile (process-archive): Fix placement of --exclude and -X
Reported by Serghei <address@hidden>.
---
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