From: fuzzyray Date: Fri, 22 Aug 2008 19:03:08 +0000 (-0000) Subject: Change TMPDIR references to WORKING_DIR in messages X-Git-Tag: gentoolkit-0.2.4.3~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f337a11124d21ddfcf63c277965c38a9f97e92d;p=gentoolkit.git Change TMPDIR references to WORKING_DIR in messages svn path=/; revision=504 --- diff --git a/trunk/src/revdep-rebuild/revdep-rebuild b/trunk/src/revdep-rebuild/revdep-rebuild index be393f3..c2f3f57 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild +++ b/trunk/src/revdep-rebuild/revdep-rebuild @@ -527,7 +527,6 @@ get_search_env() { local old_env local uid=$(python -c 'import os; import pwd; print pwd.getpwuid(os.getuid())[0]') # Find a place to put temporary files - # Use "${TMPDIR}/revdep-rebuild" or /tmp/revdep-rebuild if [[ "$uid" == "root" ]]; then local tmp_target="/var/cache/${APP_NAME}" else @@ -1067,13 +1066,13 @@ cleanup() { einfo ' (you can edit package/ebuild list first)' einfo einfo 'To remove temporary files, please run:' - einfo "rm ${TMPDIR}/$APP_NAME/*.rr" + einfo "rm ${WORKING_DIR}/*.rr" show_unowned_files exit $EMERGE_STATUS elif is_real_merge; then trap_cmd() { eerror "terminated. Please remove the temporary files manually:" - eerror "rm ${TMPDIR}/$APP_NAME/*.rr" + eerror "rm ${WORKING_DIR}/*.rr" exit 1 } [[ "${SKIP_LIST[@]}" != "" ]] && list_skipped_packages