summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:12:53 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2021-08-27 11:12:53 +0100
commit1f5a52eba53dda8ce964ee2dc8681cf70e9eccb8 (patch)
treef926f709637f91f312b9ad2756e3279b4f974d61
parentDerive a gcov for the same series as GCC, doesn't have to be an exact match (diff)
downloadutil-1f5a52eba53dda8ce964ee2dc8681cf70e9eccb8.tar.bz2
util-1f5a52eba53dda8ce964ee2dc8681cf70e9eccb8.tar.xz
util-1f5a52eba53dda8ce964ee2dc8681cf70e9eccb8.zip
Show image in PORTAGE_TMPDIR, not /var/tmp
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 58a0c96..c8014dc 100644
--- a/bashrc
+++ b/bashrc
@@ -29,7 +29,7 @@ showimage() {
local pkg
pkg=$1
pkg="${pkg:=*/*}"
- cd /var/tmp/portage/$pkg-*/image || return 1
+ cd $(portageq envvar PORTAGE_TMPDIR)/portage/$pkg-*/image || return 1
find . -not -type d -print0 | xargs -0r ls -lvhF --color=auto
du -shc */*
)