From 302833e1cfb03ac82f50445c1dbb701c77611ae7 Mon Sep 17 00:00:00 2001 From: 152334H <54623771+152334H@users.noreply.github.com> Date: Mon, 4 Jan 2021 21:37:17 +0800 Subject: [PATCH 1/2] update cache directories --- .coveragerc | 6 +++--- docs/Makefile | 2 +- pwnlib/update.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.coveragerc b/.coveragerc index 56a863f28..1a8847cc4 100644 --- a/.coveragerc +++ b/.coveragerc @@ -7,6 +7,6 @@ omit = source = pwn pwnlib - ~/.pwntools-cache-2.7/ - ~/.pwntools-cache-3.8/ -disable_warnings = module-not-imported \ No newline at end of file + ~/.cache/.pwntools-cache-2.7/ + ~/.cache/.pwntools-cache-3.8/ +disable_warnings = module-not-imported diff --git a/docs/Makefile b/docs/Makefile index 12564148a..e1e777d1d 100755 --- a/docs/Makefile +++ b/docs/Makefile @@ -45,7 +45,7 @@ help: clean: -rm -rf $(BUILDDIR)/* -rm -rf /tmp/user/pwn* - -rm -rf $(HOME)/.pwntools-cache + -rm -rf $(HOME)/.cache/.pwntools-cache -rm -rf /tmp/pwn* 2>/dev/null || true -rm -rf build diff --git a/pwnlib/update.py b/pwnlib/update.py index 0c04e8799..9a0656f0d 100644 --- a/pwnlib/update.py +++ b/pwnlib/update.py @@ -9,7 +9,7 @@ :: - $ echo never > ~/.pwntools-cache-*/update + $ echo never > ~/.cache/.pwntools-cache-*/update Or adding the following lines to ~/.pwn.conf (or system-wide /etc/pwn.conf): From 4f013b8a1ee7bb975c2020f8481a2752087c2e6b Mon Sep 17 00:00:00 2001 From: 152334H <54623771+152334H@users.noreply.github.com> Date: Mon, 4 Jan 2021 21:41:49 +0800 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef9169a51..652a4835f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,7 @@ The table below shows which release corresponds to each branch, and what date th - [#1738][1738] Which function support custom search path - process also looks now at `env['PATH']` to find the path for the executable - [#1742][1742] New `baremetal` os to debug binaries executed with qemu-system-$(arch) +- [#1757][1757] update cache directories [1261]: https://github.com/Gallopsled/pwntools/pull/1261 [1695]: https://github.com/Gallopsled/pwntools/pull/1695