summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-02 16:30:09 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-02 16:35:59 (EDT)
commitbd9f9d8fc17638a3b50d735474f9dc4d749f54c3 (patch)
treef97343fe0f0f4ac8b0c18c4bc4e03f6e641edcc5
parent2eeeb2f74cdde7e7b10c71ed3ea3f73bc9a997b8 (diff)
source.mk: Save unpacked sources
-rw-r--r--source.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source.mk b/source.mk
index 0dc55d7..333ce6a 100644
--- a/source.mk
+++ b/source.mk
@@ -54,6 +54,7 @@ $(source_archive):
fi
rm -Rf gnupghome/
tar -xJf "$(upstream_archive)"
+ rm -f "$(upstream_archive)"
for file in $(non_free_files); do \
rm -f "$(upstream_name)/$${file}"; \
done
@@ -62,7 +63,6 @@ $(source_archive):
done
cp -p "$(upstream_name)/COPYING.RUNTIME" ..
tar -cjf '$(source_archive)' "$(upstream_name)"
- rm -Rf "$(upstream_name)"
- rm -f "$(upstream_archive)"
+ mv "$(upstream_name)" src/
source: $(source_archive)