Skip to content

Commit

Permalink
Use PORTAGE_TMPDIR rather than hardcoded /var/tmp (closes #1)
Browse files Browse the repository at this point in the history
Assuming BUILD_PREFIX reflects this.
  • Loading branch information
sakaki- committed Aug 8, 2017
1 parent 2d92e57 commit accf9c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions showem
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ set -u

# ********************** variables *********************
PROGNAME="$(basename "${0}")"
VERSION="1.0.1"
PORTAGE_BUILD_DIR="/var/tmp/portage"
VERSION="1.0.2"
PORTAGE_BUILD_DIR="$(portageq envvar PORTAGE_TMPDIR)/portage"
MAIN_LOG_DIR="/var/log"
EMERGE_FETCH_LOG="emerge-fetch.log"
MIN_COLS_ALLOWED=80
Expand Down
2 changes: 1 addition & 1 deletion showem.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH SHOWEM 1 "Version 1.0.1: January 2015"
.TH SHOWEM 1 "Version 1.0.2: August 2017"
.SH NAME
showem \- monitor the progress of a parallel \fBemerge\fR(1)
.SH SYNOPSIS
Expand Down

0 comments on commit accf9c3

Please sign in to comment.