From bd9f9d8fc17638a3b50d735474f9dc4d749f54c3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 02 May 2019 16:30:09 -0400 Subject: source.mk: Save unpacked sources --- 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) -- cgit v0.9.1