diff options
author | Tim Harder <radhermit@gmail.com> | 2016-05-25 01:13:11 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2016-05-26 00:56:29 -0400 |
commit | 5ab12ecdc34d942befcb352e03cd3fbbe6e77ea6 (patch) | |
tree | 1e63bdbfda5d263f39393d1654b96c89d2cc9667 | |
parent | util/commandline: make SIGINT traceback output format more consistent (diff) | |
download | pkgcore-5ab12ecdc34d942befcb352e03cd3fbbe6e77ea6.tar.gz pkgcore-5ab12ecdc34d942befcb352e03cd3fbbe6e77ea6.tar.bz2 pkgcore-5ab12ecdc34d942befcb352e03cd3fbbe6e77ea6.zip |
ebd/exit-handling.lib: don't show working dir whenever it's the ebd dir
-rw-r--r-- | ebd/exit-handling.lib | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ebd/exit-handling.lib b/ebd/exit-handling.lib index cc8c4939..144efddd 100644 --- a/ebd/exit-handling.lib +++ b/ebd/exit-handling.lib @@ -53,9 +53,10 @@ die() { done fi - if [[ ${EBUILD_PHASE} != pretend ]]; then + local working_dir=$(pwd) + if [[ ${PKGCORE_EBD_PATH} != ${working_dir} ]]; then eerror - eerror "Working directory: '$(pwd)'" + eerror "Working directory: '${working_dir}'" fi if [[ ${BASHPID} != ${PKGCORE_EBUILD_PROCESS_PID} ]]; then |