Skip to content

Commit

Permalink
beelib: call 'logname' if the username is not defined by environment …
Browse files Browse the repository at this point in the history
…variables
  • Loading branch information
Matthias Ruester committed Aug 30, 2012
1 parent 9e983bd commit b4b3583
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/beelib.config.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ function config_verify_builtin_config() {
user=${LOGNAME}
: ${user:=${USER}}
: ${user:=${USERNAME}}
: ${user:=$(logname)}

: ${BEE_TMP_TMPDIR:=/tmp}
: ${BEE_TMP_BUILDROOT:=${BEE_TMP_TMPDIR}/bee-${user}}
Expand Down

0 comments on commit b4b3583

Please sign in to comment.